• 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: wait for the event?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wait for the event?


  • Subject: Re: wait for the event?
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 5 Oct 2009 15:10:55 -0700


On 2009 Oct 05, at 14:46, Matthew Mashyna wrote:

I could be wrong but I think you might actually be blocking the notification by doing the sit 'n spin bit with [[NSRunLoop currentRunLoop] runUntil... we get that darn message?];

Indeed, Matthew is correct. This is part of the Wonderland you want to avoid.


you should use a lock to synchronize the threads

Yes.

instead of waiting.


Well, it's still "waiting".
_______________________________________________

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: 
 >wait for the event? (From: jon <email@hidden>)
 >Re: wait for the event? (From: Matthew Mashyna <email@hidden>)

  • Prev by Date: Re: wait for the event?
  • Next by Date: [Performance issue] Resizing an alert sheet => blinks
  • Previous by thread: Re: wait for the event?
  • Next by thread: Re: wait for the event?
  • Index(es):
    • Date
    • Thread