Re: async NSOperation and NSOperationQueue
Re: async NSOperation and NSOperationQueue
- Subject: Re: async NSOperation and NSOperationQueue
- From: John Love <email@hidden>
- Date: Fri, 19 Sep 2008 14:41:19 -0400
Michael Ash wrote:
>>>>>
Has it occurred to you that waiting for the operation to finish is
rather at odds with the idea of trying to run it asynchronously to
keep your program responsive?
>>>>>
Absolutely, but if the Thread is running in the background, it really
shouldn't matter to the main Thread of the app. While calculations of
a document are buzzing away in the background, I could be doing other
things, e.g., opening other docs to get their calculations going.
But, I cannot get back control until after the first document's
calculations are done.
By the way, -[ScriptController ExecAppleScript:] is outside my for-
loop where all the Queue and Ops stuff is being manipulated.
John Love
Touch the Future! Teach!
_______________________________________________
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