Subj : Re: NPTL and sigwait() problem under linux To : comp.programming.threads From : Loic Domaigne Date : Wed Aug 17 2005 11:51 pm >> I can't see any problem with your code. I've tried it on my NPTL system >> (FC3), it behaves as expected (e.g. react upon Ctrl-C). > > I didn't even try, but *yes it works* ... :-PPP > > But that code is part of a bigger program, and in that case it doesn't. > There must be something wrong somewhere else, of course. Can you tell us what doesn't work exactly? > In the real program, I install other signal handler for SIGSEGV, SIGFPE, > etc in the main thread (to automatically start the debugger), then I > start other threads, etc. > Using both sigwait and other signal handlers may cause problems? oh, oh... Are you using the same mechanism to catch SIGSEGV, SIGFPE etc.as the one exposed in your post? Are you masking those signals with pthread_sigmask() ? Regards, Loic. .