• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSRunLoop vs. NSThread sleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSRunLoop vs. NSThread sleep
      • From: Alastair Houghton <email@hidden>
References: 
 >NSRunLoop vs. NSThread sleep (From: Eric Hermanson <email@hidden>)
 >Re: NSRunLoop vs. NSThread sleep (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: C language in obj-c
  • Next by Date: Re: C language in obj-c
  • Previous by thread: Re: NSRunLoop vs. NSThread sleep
  • Next by thread: Re: NSRunLoop vs. NSThread sleep
  • Index(es):
    • Date
    • Thread