Re: brain-dead NSThread question ...
Re: brain-dead NSThread question ...
- Subject: Re: brain-dead NSThread question ...
- From: "Julien Jalon" <email@hidden>
- Date: Mon, 15 Sep 2008 01:29:53 +0200
sleep() is just blocking the thread, so no event is processed. Use run loops
instead.
Try to replace sleep() with [[NSRunLoop currentRunLoop] runMode:beforeDate:]
--
Julien
_______________________________________________
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