• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: checking for thread existance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >checking for thread existance (From: Shane <email@hidden>)
 >Re: checking for thread existance (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: checking for thread existance
  • Next by Date: scaleUnitSquareToSize
  • Previous by thread: Re: checking for thread existance
  • Next by thread: scaleUnitSquareToSize
  • Index(es):
    • Date
    • Thread