Pausing and terminating a thread
Pausing and terminating a thread
- Subject: Pausing and terminating a thread
- From: Steve Weller <email@hidden>
- Date: Mon, 29 Aug 2005 23:08:57 -0700
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?
--
Watch me learn Cocoa http://homepage.mac.com/bagelturf/
_______________________________________________
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