Re: checking for thread existance
Re: checking for thread existance
- Subject: Re: checking for thread existance
- From: Bill Bumgarner <email@hidden>
- Date: Sat, 16 Oct 2010 13:07:53 -0700
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, would be to use queues, if at all possible....
Either NSOperationQueue or GCD queues, specifically.
b.bum
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden