easy to reproduce unkillable threads

David Xu davidxu at freebsd.org
Wed Sep 29 06:23:48 PDT 2004

Julian Elischer wrote:

> hmm looks like the problem is that the condition variable respods to a 
> masked signal
> the signals are all masked from the perspective of the thread..the 
> signal is delivered to the signal
> catcher thread so the UTS can handle it but in the meanwhile the 
> thread has done a RESTART..
> David: check out what happens when a signal is delivered to a worker 
> thread that is in a cv_wait_signal()
Please tell me easiest way to reproduce it, I tried best to reproduce 
it, but still got nothing.

>>> .
>> I haven't checked it as yet but I am starting to see some hint of 
>> some problem..
>> The fact that cv_wait_signal()  reacts to a blocked signal surproses 
>> me..
>> (according to teh man page)
>> http://people.freebsd.org/~gallatin/threadlock.tgz
I use this test case.

More information about the freebsd-threads mailing list