Re: NSRunLoop vs. NSThread sleep
Re: NSRunLoop vs. NSThread sleep
- Subject: Re: NSRunLoop vs. NSThread sleep
- From: Kyle Sluder <email@hidden>
- Date: Wed, 29 Apr 2009 06:44:10 -0400
On Wed, Apr 29, 2009 at 6:00 AM, Alastair Houghton
<email@hidden> wrote:
> But all of this is somewhat academic in a way, because Apple has handily
> provided NSOperationQueue for you which is probably what you should be using
> unless you have some backwards compatibility requirement or some other
> requirement that NSOperationQueue doesn't satisfy.
NSOperationQueue is broken:
http://www.mikeash.com/?page=pyblog/dont-use-nsoperationqueue.html
I am not under NDA at the moment, so I'll point out that 10.5.7 is
rumored to have fixes for NSOperationQueue. If that bears out to be
true, then by all means run with NSOperationQueue. If not, you might
want to hold off until Snow Leopard -- it wouldn't be the first time
that Apple engineers (or anyone else, for that matter) have tackled a
bug but missed some corner cases until the next major release.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden