Re: CPU utilization in Snow Leopard
Re: CPU utilization in Snow Leopard
- Subject: Re: CPU utilization in Snow Leopard
- From: Alastair Houghton <email@hidden>
- Date: Tue, 20 Oct 2009 17:30:28 +0100
On 20 Oct 2009, at 07:41, Graham Cox wrote:
If you need to wait for another thread to finish, use a
NSConditionLock to do it properly.
Either that, or if the run loop is required for some other reason,
make a custom run loop source and, add it to the run loop and signal
it from the other thread. You rarely need to do that, but there are
uses for it.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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