[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Patch for Apple Cthreads
> I would like to generize the Mach Cthreads implementation...
>
> Do all Cthread implementations require PTHREAD_PREEMPTIVE defined?
> Or
> Is this define only required by Apple's implementation of
> Mach Cthreads?
Well, it depends on whether the threads are preemptive or not :-) In the
case of MacOS X Server (nee Rhapsody) and NEXTSTEP, they are, as they're
mapped to Mach threads. There are various user level Cthreads
implementations, however, for which this may not be the case.
-- Luke