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: Stéphane Letz <email@hidden>
- Date: Fri, 13 May 2005 10:00:48 +0200
Le 13 mai 05, à 09:56, Matt Watson a écrit :
(un-cross-posted)
(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?
matt.
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?
Thanks
Stephane Letz
_______________________________________________
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