Dave Dribin has written excellent blog posts about this - start here: http://www.dribin.org/dave/blog/archives/2009/05/05/concurrent_operations/
Jamie On 24 Feb 2011, at 15:08, Matt DeFoor wrote: > I have been doing research in preparing to switch from manual > threading to the usage of NSOperation. Because my operations will be > executing asynchronous APIs from the CoreServices framework, it > appears that I'd be better off using concurrent operations. What is > not clear to me is, if I provide a callback to an asynchronous API, on > which thread is the callback called? > > Also, does anyone have experience using NSOperation with asynchronous > APIs that take a runloop and a runloop mode as parameters? From my > research, it is not clear to me how one would pass the required > runloop parameters in the concurrent operation's start: method. > Perhaps it is as simple as using the main thread's runloop, but that > doesn't seem right. > > Thanks in advance, > Matt > _______________________________________________ > > 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/jamie%40montgomerie.net > > This email sent to ja...@montgomerie.net _______________________________________________ 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