• 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: NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask


  • Subject: Re: NSTask
  • From: David Duncan <email@hidden>
  • Date: Tue, 22 Jul 2008 15:11:43 -0700

On Jul 22, 2008, at 2:49 PM, Torsten Curdt wrote:

I was looking into the cancelation of the thread. (isCanceled/cancel since 10.5) And just noticed that I don't have the reference to the NSThread - at least not when using detachNewThreadSelector. And then I was wondering how you would get access to the instance on 10.4. (10.5 you can create and start the NSThread via init/start)


Most of the instance methods of NSThread are not available prior to 10.5. Those that are you would call within the thread by calling +currentThread or you would call one of the other class methods of NSThread.

Or in other words, prior to 10.5 there isn't anything you can really do with an NSThread instance that would warrant needing access to the actual instance from outside of the thread itself.
--
David Duncan
Apple DTS Animation and Printing
email@hidden




_______________________________________________

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


  • Follow-Ups:
    • Re: NSTask
      • From: Torsten Curdt <email@hidden>
References: 
 >NSTask (From: Torsten Curdt <email@hidden>)
 >Re: NSTask (From: Nick Zitzmann <email@hidden>)
 >Re: NSTask (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: NSTask
  • Next by Date: Re: Basic question on /Library/Application Support
  • Previous by thread: Re: NSTask
  • Next by thread: Re: NSTask
  • Index(es):
    • Date
    • Thread