Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Le 13 mai 05, à 09:56, Matt Watson a écrit : (un-cross-posted) matt. Thanks Stephane Letz _______________________________________________ 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... (1) using pthread_testcancel instead pthread_cond_wait in the thread loop of does not work.... Why? It works for me on Tiger. Are you sure you're building with -D_APPLE_C_SOURCE? Yes. compiled with -D_APPLE_C_SOURCE. I'm testing on Tiger beta A425. Could this be the issue? It actually works maybe one every 10 test.... It seems also to depends if i switch from 2 CPU to 1 CPU actually. What about the pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL) issue? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Letz