• 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: Where to declare/initialise an NSOperationQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to declare/initialise an NSOperationQueue


  • Subject: Re: Where to declare/initialise an NSOperationQueue
  • From: Michael Ash <email@hidden>
  • Date: Sun, 15 Feb 2009 08:41:09 -0500

On Sat, Feb 14, 2009 at 11:42 PM, Jerry Krinock <email@hidden> wrote:
>
> On 2009 Feb 14, at 08:36, Michael Ash wrote:
>
>> http://www.mikeash.com/?page=pyblog/dont-use-nsoperationqueue.html
>>
>> If you read all the way to the end you'll see that NSOperationQueue
>> can be induced to crash even when using only *one* queue in the entire
>> program, so you can't save yourself by sharing a single global queue
>> as was once thought.
>
> Actually if you read ^all^ the way to the end you'll see my results which
> say that, on my early 2006 Core 2 Duo Mac Mini, the crashes only occur if
> you have more than operation queue.  I do not doubt the results of Michael
> and others, though; it may be hardware-dependent.

Well yes, that's why I said "can", not "always will". It's a threading
bug. Changes in behavior on different hardware is only to be expected.

Mike
_______________________________________________

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

References: 
 >Where to declare/initialise an NSOperationQueue (From: Jacob Rhoden <email@hidden>)
 >Re: Where to declare/initialise an NSOperationQueue (From: Michael Ash <email@hidden>)
 >Re: Where to declare/initialise an NSOperationQueue (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: SHA1 hash depends on calendar system in use? [SOLVED]
  • Next by Date: Re: Drawing Efficiency
  • Previous by thread: Re: Where to declare/initialise an NSOperationQueue
  • Next by thread: NSTextView inside NSScrollView resize fade and flicker
  • Index(es):
    • Date
    • Thread