Re: pthread_cancel and EH: let's try this again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pthread_cancel and EH: let's try this again



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.