Read this
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Multithreading/Introduction/Introduction.html

Specifically this should answer your question:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Multithreading/ThreadSafety/ThreadSafety.html%23//apple_ref/doc/uid/10000057i-CH8-SW1

2011/5/6 Bing Li <lbl...@gmail.com>:
> 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.
>
> I appreciate so much for your help!
>
> Best regards,
> Bing
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to