• 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
NSThread (was Re: NSTask)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSThread (was Re: NSTask)


  • Subject: NSThread (was Re: NSTask)
  • From: Torsten Curdt <email@hidden>
  • Date: Tue, 22 Jul 2008 23:50:44 +0200

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 (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>)

  • Prev by Date: Re: NSTask
  • Next by Date: Re: how to prevent baseline shift when using NSSuperscriptAttributeName on a NSTextView's NSAttributedString ?
  • Previous by thread: Re: NSTask
  • Next by thread: Re: NSTask
  • Index(es):
    • Date
    • Thread