Re: NSOperationQueue and Synchronization Control
Re: NSOperationQueue and Synchronization Control
- Subject: Re: NSOperationQueue and Synchronization Control
- From: Sean McBride <email@hidden>
- Date: Fri, 06 May 2011 15:36:34 -0400
- Organization: Rogue Research Inc.
On Sat, 7 May 2011 03:32:37 +0800, Bing Li said:
>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.
That's a big question. Have you read "Concurrency Programming Guide"
and "Threading Programming Guide"?
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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