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//app
On Sat, 07 May 2011 03:32:37 +0800, Bing Li 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 develop
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
>sync
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 tru