• 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: Torsten Curdt <email@hidden>
  • Date: Wed, 23 Jul 2008 08:29:21 +0200

Most of the instance methods of NSThread are not available prior to 10.5.

I see

Those that are you would call within the thread by calling +currentThread

Well, I would have to do that in the new thread and pass the NSThread object to the main thread that started it.
That felt a bit overly complicated - but seems like that's the only way then :)


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.

Still weird not to have a reference. Be it just for referencing the thread. Glad this is fixed under 10.5.


Thanks for the clarification, guys!

cheers
--
Torsten
_______________________________________________

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

  • Prev by Date: Challenge Chapter 8: sorting with key-path
  • Next by Date: Re: Challenge Chapter 8: sorting with key-path
  • Previous by thread: Re: NSTask
  • Next by thread: Re: NSTask
  • Index(es):
    • Date
    • Thread