pthread_cancel and EH: let's try this again
Alexander Terekhov
terekhov at web.de
Wed Jul 27 15:04:21 UTC 2005
Peter Dimov wrote:
[...]
> "The cancelability state shall remain set to PTHREAD_CANCEL_DISABLE until
> the thread has terminated. The behavior is undefined if a cancellation
> cleanup handler or thread-specific data destructor routine changes the
> cancelability state to PTHREAD_CANCEL_ENABLE."
>
> made it into the TC, it specifically prohibits the scenario I described.
Well, see
http://www.opengroup.org/austin/mailarchives/austin-group-l/msg05987.html
http://www.opengroup.org/austin/mailarchives/austin-group-l/msg05988.html
http://www.opengroup.org/austin/mailarchives/austin-group-l/msg05989.html
http://www.opengroup.org/austin/mailarchives/austin-group-l/msg05989.html
regards,
alexander.
More information about the c++-pthreads
mailing list