libkse -> libpthreads

Terry Lambert tlambert2 at mindspring.com
Mon Apr 21 17:49:26 PDT 2003


Narvi wrote:
> On Mon, 21 Apr 2003, Geoffrey C. Speicher wrote:
> > What's not clear about it?  libkse is a superset of the functionality
> > of libthr.  Seems pretty straightforward to me that the long-term
> > winner is libkse.
> 
> This assumes that libkse M:N model will provide supperior performance and
> scalability, and this is not clear. Or does merely the fact that itis M:N
> somehow make it more winning contender?

See other discussion.  Performance should be identical, after
the upcall is eliminated in the case where all threads are
created PTHREAD_SCOPE_SYSTEM, and libkse communicates this to
the kernel to avoid generation of upcalls on blocking operations.

Jeff makes a good point about the potential for bugs because of
the more sophisticated and larger total number of lines of code,
however.

Daniel also makes a good point about not finding them unless the
code is put in production.

To my mind, it comes down to bug avoidance vs. bug detection, if
you weigh these arguments against each other.

-- Terry


More information about the freebsd-threads mailing list