Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com matt. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Matt Watson