NTPL & pthreads locks

Alexandre Julliard julliard at winehq.com
Tue Apr 22 12:30:39 CDT 2003

Peter Hunnisett <peter at transgaming.com> writes:

> For instance pthread_sigmask should be used instead of sigprocmask and
> wine should not be resetting signal handlers willy nilly as they're
> shared across all threads. SIGNAL_Reset (or whatever it is) should not
> tear down the signal handlers when 1 thread exits as they're still
> used by other threads.

We don't call SIGNAL_Reset for NPTL. And using pthread_sigmask
shouldn't make any difference, sigprocmask is thread-local anyway (and
it avoids a few #ifdefs...)

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list