• 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: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:])
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:])


  • Subject: Re: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:])
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 20 Sep 2009 07:15:09 -0700


On 2009 Sep 20, at 02:50, Ken Thomases wrote:

You've got the send port and receive port mixed up here. The send port is the one you're sending to. The receive port is the one on which you'd receive any reply, if there is one.

Since the timer user info contains the port which was added to the run loop, you want to send to that one.

Thanks, Ken. Indeed, simply reversing makes it work the same in 10.5 and 10.6.


Now I have to go think about what this means.
_______________________________________________

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


References: 
 >NSTask is "Thread Unsafe". What does that mean? (From: Jerry Krinock <email@hidden>)
 >Re: NSTask is "Thread Unsafe". What does that mean? (From: "Adam R. Maxwell" <email@hidden>)
 >Need -[NSTask waitUntilExitOrTimeout:] (was NSTask "Thread Unsafe"...) (From: Jerry Krinock <email@hidden>)
 >Re: Need -[NSTask waitUntilExitOrTimeout:] (was NSTask "Thread Unsafe"...) (From: Chris Kane <email@hidden>)
 >Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:]) (From: Jerry Krinock <email@hidden>)
 >Re: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:]) (From: Jerry Krinock <email@hidden>)
 >Re: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:]) (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: NSTextField black outline, not drawing in background thread when in a custom NSControl?
  • Next by Date: Thank you
  • Previous by thread: Re: Running run loops in 10.6 (was: Need -[NSTask waitUntilExitOrTimeout:])
  • Next by thread: [SOLVED (but not pretty)] Running run loops in 10.6
  • Index(es):
    • Date
    • Thread