On Nov 8, 2009, at 2:17 AM, Roland King wrote:
Or look at NSOperation/NSOperationQueue which absolves you of the need to care about threads, it's done for you (and I believe makes use of Grand Central Dispatch on current versions of OSX). Just package up whatever it is you need to do and send it off and some thread somewhere will do it for you.
For the record: +1 to this. Let NSOperationQueue manage concurrency for you instead of using NSThread, unless you really know what you're doing with multithreading. It's much easier and safer.
—Jens_______________________________________________ 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