httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Robert S. Thau)
Subject Re: PR & 1.1b1
Date Tue, 19 Mar 1996 16:52:30 GMT
  Hmm ... how do you propose to do this "quickie" threading package? Will it be
  any easier than porting pthreads? Why?

My instinct would be to steal the context-switch code from pthreads (yes,
porting where needed), but *not* to attempt to redo the thread-safe library;
the whole point of keeping the thing non-preemptive is to be able to use
the native C library without having to obsessively guard calls to it for
potential critical sections.  Since the library is actually most of the
pthreads code, this saves a *lot* of difficulties (and likewise with 
interfacing to third-party libraries which may not exist in a thread-safe


View raw message