[Date Prev][Date Next]
RE: Patch for Apple Cthreads
> I would like to generize the Mach Cthreads implementation...
> Do all Cthread implementations require PTHREAD_PREEMPTIVE defined?
> 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.