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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to