Peter Hunnisett peter@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...)