• 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: Low-level equivalent of NSLock?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Low-level equivalent of NSLock?


  • Subject: Re: Low-level equivalent of NSLock?
  • From: Nathan Day <email@hidden>
  • Date: Thu, 14 Nov 2002 16:30:49 +1030

You will probably have to use pthread_mutex_trylock and a condition variable with the POSIX call pthread_cond_timedwait.

On Thursday, November 14, 2002, at 01:29 PM, Pierre-Olivier Latour wrote:

Thanks for the pointer, but how do you do the equivalent of lockBeforeTime
using pthread_mutex_xxx?

Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Low-level equivalent of NSLock? (From: Pierre-Olivier Latour <email@hidden>)

  • Prev by Date: ControlRef
  • Next by Date: Constant for "ESCAPE KEY"
  • Previous by thread: Re: Low-level equivalent of NSLock?
  • Next by thread: Re: Low-level equivalent of NSLock?
  • Index(es):
    • Date
    • Thread