Re: wait for the event?
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