Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
- Subject: Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
- From: Matt Watson <email@hidden>
- Date: Fri, 13 May 2005 08:52:44 -0700
I am seeing the behavior you are seeing now. The cleanup handler is
being called, but printf is failing (write() is returning EINTR) when
called from a cleanup handler triggered by a pthread_testcancel()'d
thread. I will look into this. Thank you for the example.
I don't have an answer to the async cancellation case, besides "don't
do that". Async cancellation is very dangerous and should be avoided.
matt.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden