thread behaviour during signal handling

thread behaviour during signal handling

Post by John Tada » Thu, 04 Mar 2010 08:13:20


Hello,
I have a multi threaded process with one thread masked to handle all
the async signals. So when an async signal is delivered and while
this
thread is in signal handler, can other threads be scheduled? Or do
they wait for the signal handler to complete? I am running this on a
multi core machine
Thanks
John
 
 
 

thread behaviour during signal handling

Post by David Schw » Fri, 05 Mar 2010 04:17:58


Hmm, this question looks awfully familiar. As I explained in the other
post of this same question, they must be scheduled or the
implementation is hopelessly broken and can trivially be made to
deadlock, whether you have one core or not.

DS