• 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
Yielding an NSThread-started thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Yielding an NSThread-started thread


  • Subject: Yielding an NSThread-started thread
  • From: "Philip Q" <email@hidden>
  • Date: Wed, 22 Nov 2006 02:11:09 +1300

Is there a recommended/good way to yield a thread started using
NSThread while it waits for another?

pthread has pthread_yield(), libc has sched_yield(), Thread Manager
has YieldToAnyThread(), Multiprocessing Services has MPYield() -- but
I don't see a Cocoa one, and I don't know what the unexpected
consequences might be of calling one from another library?

Thanks,

Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Yielding an NSThread-started thread
      • From: Alastair Houghton <email@hidden>
    • Re: Yielding an NSThread-started thread
      • From: "Gurmit Teotia" <email@hidden>
  • Prev by Date: Re: External kill of an NSThread?
  • Next by Date: Re: Yielding an NSThread-started thread
  • Previous by thread: Re: detecting the USB drives
  • Next by thread: Re: Yielding an NSThread-started thread
  • Index(es):
    • Date
    • Thread