Subj : Re: NPTL and sigwait() problem under linux To : comp.programming.threads From : loic-dev Date : Fri Aug 19 2005 01:44 am Hello Steve, > >P.S. Now I install handlers for SIGSEGV and SIGFPE after signal_init(), in > > the main thread, and they are working fine. > > Just be aware that SIGSEGV and SIGFPE, when generated by the > implementation (as opposed to being sent with kill/pthread_kill) are > generated synchronously, and thus *will* *only* get delivered to the > thread that caused them. You can't create a signal-handling thread > to cope with those particular signals. [snip] Thanks Steve for your post. I wanted to warn Daniele on this. Now my answer looks much shorter ;-) Cheers, Loic. .