[c++-pthreads] Re: [SPAM] - Re: [c++-pthreads] Re: FW: RE: Re: I'm Lost - Email found in subject
Jason Merrill
jason at redhat.com
Tue Mar 14 22:51:43 UTC 2006
Jason Merrill wrote:
> Ted Baker wrote:
>> Since the bit is never reset, there is no race condition.
>
> This is the first justification I've seen for Ulrich's position. Can
> you elaborate on how allowing us to reset the cancelled bit could lead
> to a race condition?
Actually, I suppose there's no need to reset the cancelled bit and call
pthread_cancel again to get the sticky cancel behavior. At least with
glibc we just want to clear EXITING_BIT so that the next test will cause
us to throw again.
Jason
More information about the c++-pthreads
mailing list