Subj : Re: Using SIGALRM with pthread To : comp.programming.threads From : Chris Friesen Date : Thu Jul 28 2005 11:52 am gc wrote: > I wonder if anybody can give me a concrete explanation why is the use > of signal handling in a thread can potentially cause many werid bugs. Most thread sync primitives cannot be used within a signal handler, making it very difficult to do useful things from within the signal handler. Async signals are used to gain multiple threads of execution--if you've already got multiple threads, then they don't really buy you anything. Chris .