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

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


  • Follow-Ups:
    • Re: async NSOperation and NSOperationQueue
      • From: "Michael Ash" <email@hidden>
  • Prev by Date: Re: Weird Error
  • Next by Date: Re: Drawing an NSImage in a CALayer
  • Previous by thread: Re: async NSOperation and NSOperationQueue
  • Next by thread: Re: async NSOperation and NSOperationQueue
  • Index(es):
    • Date
    • Thread