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:59:09 -0700
OK, I submitted some Document Feedback on -cancelAllOperations, referring to this thread in the list archives and complaining that the statement "Queued operations are cancelled before they begin executing" seems to be an oversimplification.
And I was able to solve my deadlock with -waitUntilAllOperationsAreFinished by instead adding a key-value observer method for @"operations" and testing if its count == 0.
This was my lucky day to have Mike Abdullah and Ken Thomases online when I had a threading issue. Thanks again!_______________________________________________
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