Re: checking for thread existance

2010-10-16 Thread Bill Bumgarner
On Oct 16, 2010, at 11:46 AM, Dave DeLong wrote: > You can save the NSThread instance in an ivar (after alloc/init'ing it), and > then use all the NSThread methods to figure out what to do. (Don't forget to > -start the thread when you're ready to kick it off) A far better solution, though, w

Re: checking for thread existance

2010-10-16 Thread Dave DeLong
You can save the NSThread instance in an ivar (after alloc/init'ing it), and then use all the NSThread methods to figure out what to do. (Don't forget to -start the thread when you're ready to kick it off) Dave On Oct 16, 2010, at 12:44 PM, Shane wrote: > I have an application which launches

checking for thread existance

2010-10-16 Thread Shane
I have an application which launches worker threads via NSThread's detachNewThreadSelector: method, and once the thread is setup, it's listening for commands from the main GUI thread. So, what I'd like to do is know how to check to see if a thread exists when a button is clicked where it would nor