• 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 cancelAllOperations] cleans queue, but not immediately?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!


  • Subject: Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 31 Mar 2010 15:09:02 -0700

On 2010 Mar 31, at 15:03, Jerry Krinock wrote:

> So Ken I believe you're saying that the "cancelled" operations become ready to run immediately, which they do (as no-ops), which removes them from the queue.  In *effect* therefore, "are cancelled before they begin executing" *does indeed* == "removed from queue".
>
> But maybe this is not true in 10.5?

I thought about this some more and I think I get it now.  You're telling me that the methods will run ... eventually ... subject to the usual constraints, which are a bit more in 10.5.  So, the answer is that "are cancelled before they begin executing" == "removed from queue *eventually*"



_______________________________________________

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: 
 >-[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?! (From: Jerry Krinock <email@hidden>)
 >Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?! (From: Mike Abdullah <email@hidden>)
 >Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?! (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!
  • Next by Date: Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!
  • Previous by thread: Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!
  • Next by thread: Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!
  • Index(es):
    • Date
    • Thread