26 Feb 2010, 6:05pm
iphone dev
leave a comment

iPhone Mutex/Sempahore

Looking for Mutex and Semaphore in the iPhone SDK?  The classes you want are NSLock and NSConditionLock.  You can use NSConditionLock just like a semaphore.

Here’s a good NSConditionLock example

For Mutex’s, use @synchronized(self), or another NSLock object.

*name

*e-mail

web site

leave a comment
cancel reply


 
← How to make pull to reload tableview like Tweetie 2  Slide to reload →
 

Recent Posts

  • stdin, stdout, stderr with proc_open in PHP
  • Fixing `Could not find a JavaScript runtime (ExecJS::RuntimeError)` Without Another Gem
  • [[UIDevice currentDevice] uniqueIdentifier] Substitute
  • Applying Timezone Offsets in Excel
  • Installing Windows7 on a new MacMini Using Lion
  • Turbocharging git on Mac OS X
  • Viewing Unread Inbox Emails in Gmail
  • iTunes Match Broke the ‘Play’ Button
  • Review: Clarify (Mac App)
  • Migrating data in a Rails migration
GPS Log Ad

Linkroll

  • GPS Log
  • i-think 22
  • Rob's Technology Blog
  • Microspiff
  • Hogfish

 
Copyright © 2012 William Denniss. All Rights Reserved.
Powered by WordPress. Emptiness Theme by Studio Cliffano.
 


We hang the petty thieves and appoint the great ones to public office. - Aesop
 

OmegaDelta

It's good
  • Home
  • About
  • Cities I’ve Visited
  • Page1 Apps
  • Feed
  • Log in
 

Tags

  • android bug censorship china dev git gps log hack internet iOS ipad iphone iphone dev mac neonscape objective-c politics rails rant ruby svn tip travel xbox360 xvid