Re: NSTask
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
References: | |
| >NSTask (From: Torsten Curdt <email@hidden>) |
| >Re: NSTask (From: Nick Zitzmann <email@hidden>) |
| >Re: NSTask (From: Torsten Curdt <email@hidden>) |