Re: -[NSOperationQueue cancelAllOperations] cleans queue, but not immediately?!
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