Re: Pausing and terminating a thread
Re: Pausing and terminating a thread
- Subject: Re: Pausing and terminating a thread
- From: j o a r <email@hidden>
- Date: Tue, 30 Aug 2005 08:14:03 +0200
On 30 aug 2005, at 08.08, Steve Weller wrote:
I have implemented pausing and terminating in a worker thread
(NSThread) by polling a state variable updated by the main thread
and acting accordingly. This works fine, but is there a way to make
the worker thread pause/continue or exit from my main thread so I
don't have to do the polling?
NSConditionLock?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden