Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 21:24:33 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: easy to reproduce unkillable threads
Message-ID:  <415AB791.10809@freebsd.org>
In-Reply-To: <41589B4A.9080508@elischer.org>
References:  <16728.37731.540143.307772@grasshopper.cs.duke.edu> <41589B4A.9080508@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415AB791.10809>