• 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: NSOperationQueue and Synchronization Control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOperationQueue and Synchronization Control


  • Subject: Re: NSOperationQueue and Synchronization Control
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 06 May 2011 16:47:33 -0700

On Sat, 07 May 2011 03:32:37 +0800, Bing Li <email@hidden> said:
>Dear all,
>
>I am a new Cocoa developer on iPhone/iPad. I plan to use NSOperationQueue to
>achieve the goal of concurrency. I am not sure if it is better since I also
>know GCD is available.
>
>Moreover, I didn't notice that Cocoa provided developers with
>synchronization controlling mechanisms. Is it true? For example, locking is
>not available on Cocoa? What about Pulse/Wait?
>
>I believe the synchronization controlling is as important as concurrency
>controlling.

You may have some misconceptions. I strongly suggest that you watch the WWDC 2010 videos on this topic before proceeding any further. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Getting mouse cursor position
  • Next by Date: Re: programmatically delete a file on ftp server
  • Previous by thread: Re: NSOperationQueue and Synchronization Control
  • Next by thread: drawing onto CVPixelBuffer
  • Index(es):
    • Date
    • Thread