Skip navigation.
 
mlPausing and terminating a thread
FROM : Steve Weller
DATE : Tue Aug 30 08:08:57 2005

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/

Related mailsAuthorDate
mlPausing and terminating a thread Steve Weller Aug 30, 08:08
mlRe: Pausing and terminating a thread j o a r Aug 30, 08:14
mlRe: Pausing and terminating a thread Steve Weller Aug 30, 08:23
mlRe: Pausing and terminating a thread j o a r Aug 30, 08:48
mlRe: Pausing and terminating a thread mattlist Aug 30, 15:26
mlRe: Pausing and terminating a thread Hamish Allan Aug 30, 19:16
mlRe: Pausing and terminating a thread Ben Haller Aug 31, 00:18
mlRe: Pausing and terminating a thread Ryan Britton Aug 31, 02:22
mlRe: Pausing and terminating a thread Ben Haller Aug 31, 02:48
mlRe: Pausing and terminating a thread Pandaa Aug 31, 03:30
mlRe: Pausing and terminating a thread Ben Haller Aug 31, 06:38
mlRe: Pausing and terminating a thread Doug Wyatt Aug 31, 06:49