Bah ...sorry for the NSTask/NSThread mix up. Obviously too tired.
cheers
--
Torsten
On Jul 22, 2008, at 23:35, Nick Zitzmann wrote:
On Jul 22, 2008, at 3:31 PM, Torsten Curdt wrote:
When I do
[NSThread detachNewThreadSelector:@selector(something)
toTarget:self
withObject:nil];
How can I get access to the NSThread object??
What are you trying to accomplish?
I would have expected detachNewThreadSelector to return a NSTask
object.
Why would you expect that? The creation of a new thread doesn't
spawn a task; it spawns a thread.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]