[c++-pthreads] Re: thread-safety definition
Wil Evers
wil at bogo.xs4all.nl
Sat Jan 10 08:19:43 UTC 2004
David Abrahams wrote:
> Dave Butenhof <David.Butenhof at hp.com> writes:
>
>>Besides, "reasserting cancel" in all the right places and no other
>>places sounds like one of those projects that ends up being a lot
>>more subtle and error-prone than anyone ever expects. ;-)
>
> I don't really see what you think is complicated about this. In
> Jason's model cancellation gets reasserted as soon as a caught
> cancellation exception is destroyed by falling off the end of the
> catch block without rethrowing.
What if, at that point, the thread has disabled cancellation?
- Wil
More information about the c++-pthreads
mailing list