Re: NSOperationQueue and Synchronization Control

2011-05-06 Thread Nick
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

Re: NSOperationQueue and Synchronization Control

2011-05-06 Thread Matt Neuburg
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

Re: NSOperationQueue and Synchronization Control

2011-05-06 Thread Sean McBride
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

NSOperationQueue and Synchronization Control

2011-05-06 Thread Bing Li
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