• 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: Does waitUntilExit really mean that?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does waitUntilExit really mean that?


  • Subject: Re: Does waitUntilExit really mean that?
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 6 Apr 2009 23:29:20 -0500

On Apr 6, 2009, at 11:02 PM, Michael Ash wrote:

If you do insist on running an inner runloop, then you'll need to do
that *first*, before you use waitUntilExit, to avoid the potential
deadlock.

There is no potential deadlock. waitUntilExit is documented as running the run loop.


Well, there may be a problem if you read from the file handle in a mode other than the default, as Adam was recommending.

On the other hand, I agree with your recommendation that this sort of thing should just be done totally asynchronously, in which case it's fine to do it on the main thread (which might be simpler for some designs).

Regards,
Ken

_______________________________________________

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: Does waitUntilExit really mean that?
      • From: Michael Ash <email@hidden>
References: 
 >Does waitUntilExit really mean that? (From: Michael Domino <email@hidden>)
 >Re: Does waitUntilExit really mean that? (From: Michael Ash <email@hidden>)
 >Re: Does waitUntilExit really mean that? (From: "Adam R. Maxwell" <email@hidden>)
 >Re: Does waitUntilExit really mean that? (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Does waitUntilExit really mean that?
  • Next by Date: Re: Does waitUntilExit really mean that?
  • Previous by thread: Re: Does waitUntilExit really mean that?
  • Next by thread: Re: Does waitUntilExit really mean that?
  • Index(es):
    • Date
    • Thread