NTPL & pthreads locks

Alexandre Julliard julliard at winehq.com
Tue Apr 22 15:15:31 CDT 2003

Dan Kegel <dank at kegel.com> writes:

> sigprocmask may be thread-local in NPTL, but it's not in SUSv3,
> which doesn't at all specify what happens when
> you call sigprocmask in a multithreaded program.  See
> http://www.opengroup.org/onlinepubs/007904975/toc.htm
> For portability's sake, one should probably use pthread_sigmask.

If we really wanted portable threading we should use only pthreads
functions throughout. But of course there's the small drawback that it
wouldn't let us run most Windows apps...

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list