Re: Self-scheduling threading
Re: Self-scheduling threading
- Subject: Re: Self-scheduling threading
- From: Dustin Voss <email@hidden>
- Date: Wed, 16 Mar 2005 14:37:06 -0800
On 16 Mar, 2005, at 1:25 PM, Michael Koehmstedt wrote:
Hello all,
I need to be able to self-schedule all my threads, similar to the
concept of fibers on Win32. Is this possible with NSThread, or will I
have to resort to pure POSIX threads?
Thanks,
Michael Koehmstedt
So, let me get this straight, you want to write your own scheduler and
build pseudo-threads within your time-slice? Maybe there is a better
solution?
Fibers seem like co-routines or co-operative threads. NSThread doesn't
do co-operative threads, AFAIK. Carbon's co-operative API has probably
been deprecated or removed. And I would love a usable co-routine
library.
Anyway, I refer you to
http://blogs.msdn.com/larryosterman/archive/2005/01/05/347314.aspx.
_______________________________________________
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