Subj : Re: asynchronous cancel vs calling pthread_exit in signal handler To : comp.unix.programmer,comp.programming.threads From : Ben Hutchings Date : Sun Apr 24 2005 12:37 am Alexander Terekhov wrote: > > Ben Hutchings wrote: > [...] >> functions in the latest version of SUS. In any case exiting a >> thread from a signal handler is liable to leave shared data in >> an invalid state, just like asynchronous cancellation. > > Except that properly coded async regions take care of bringing > the shared state to a valid state using cancellation cleanup > handlers. Right - but this doesn't seem to apply in the OP's situation. .