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/
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 mails | Author | Date |
|---|---|---|
| Steve Weller | Aug 30, 08:08 | |
| j o a r | Aug 30, 08:14 | |
| Steve Weller | Aug 30, 08:23 | |
| j o a r | Aug 30, 08:48 | |
| mattlist | Aug 30, 15:26 | |
| Hamish Allan | Aug 30, 19:16 | |
| Ben Haller | Aug 31, 00:18 | |
| Ryan Britton | Aug 31, 02:22 | |
| Ben Haller | Aug 31, 02:48 | |
| Pandaa | Aug 31, 03:30 | |
| Ben Haller | Aug 31, 06:38 | |
| Doug Wyatt | Aug 31, 06:49 |






Cocoa mail archive

