• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
      • From: Matt Watson <email@hidden>
References: 
 >mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues (From: Stéphane Letz <email@hidden>)
 >Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues (From: Matt Watson <email@hidden>)
 >Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues (From: Stéphane Letz <email@hidden>)
 >Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues (From: Matt Watson <email@hidden>)
 >Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues (From: Stéphane Letz <email@hidden>)
 >Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues (From: Matt Watson <email@hidden>)

  • Prev by Date: Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
  • Next by Date: passwordserver_sasl-59.2
  • Previous by thread: Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
  • Next by thread: Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
  • Index(es):
    • Date
    • Thread