Re: any help with [NSThread initWithTarget:selector:object]???
Re: any help with [NSThread initWithTarget:selector:object]???
- Subject: Re: any help with [NSThread initWithTarget:selector:object]???
- From: Ken Thomases <email@hidden>
- Date: Thu, 15 May 2008 03:03:13 -0500
On May 15, 2008, at 1:02 AM, Alex Esplin wrote:
When you start a
thread with [threadname start] how do you wait for it? I can't seem
to find anything on that...
There doesn't seem to be any "join"-type functionality in NSThread.
You have to use thread synchronization primitives, I suppose.
NSConditionLock is a good candidate.
Cheers,
Ken
_______________________________________________
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