Yielding an NSThread-started thread
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