• 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: NSOperationQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOperationQueue


  • Subject: Re: NSOperationQueue
  • From: Markus Spoettl <email@hidden>
  • Date: Sat, 02 Jun 2012 19:32:44 +0200

On 6/2/12 7:27 PM, Kyle Sluder wrote:
On Jun 2, 2012, at 9:54 AM, Markus Spoettl<email@hidden>  wrote:


I'm still not seeing how queuePriority would solve the issue. Say you have a queue with maxConcurrentOperationCount == 1

OP expressed his desire to have a queue with maxConcurrentOperationCount>  1.

Well, maybe, it doesn't change anything. maxConcurrentOperationCount = 1 just makes it easier to explain things.


Please explain how you suggest to use queuePriority in order to ensure the waiting operations will execute in the reverse order:

Who said anything about order?

The OP did:

Is there a way to add operations to the queue so that they "jump the queue" ahead of any operations that are not running and have not been run yet?


Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

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: NSOperationQueue
      • From: Charles Srstka <email@hidden>
References: 
 >NSOperationQueue (From: Graham Cox <email@hidden>)
 >Re: NSOperationQueue (From: Kyle Sluder <email@hidden>)
 >Re: NSOperationQueue (From: Graham Cox <email@hidden>)
 >Re: NSOperationQueue (From: Charles Srstka <email@hidden>)
 >Re: NSOperationQueue (From: Markus Spoettl <email@hidden>)
 >Re: NSOperationQueue (From: Kyle Sluder <email@hidden>)
 >Re: NSOperationQueue (From: Markus Spoettl <email@hidden>)
 >Re: NSOperationQueue (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: NSOperationQueue
  • Next by Date: Re: NSOperationQueue
  • Previous by thread: Re: NSOperationQueue
  • Next by thread: Re: NSOperationQueue
  • Index(es):
    • Date
    • Thread