Subj : sigwaitinfo fails to dequeue signal from a thread To : comp.programming.threads From : krosswindz Date : Mon Mar 21 2005 08:49 pm I have signal say SIGRTMIN which I have blocked in all the threads that I create. I do this by using sigprocmask before I fire my threads. I have a thread which handles SIGRTMIN without explicitly using a sigaction. Since I blocked the signal SIGRTMIN, I assume that it would be in the pending queue for delivery. I use sigwaitinfo to dequeue the signal in the appropriate thread by looping infinitely. I find that I am unable to dequeue the signal inside my thread, but I am able to dequeue the same signal in the main process that fires off all the threads. Is this the behavior of POSIX threads or my understanding is correct and this is a bug in the implementation of NPTL or is a bug in the Linux kernel which causes this to happen. .