libkse -> libpthreads
Terry Lambert
tlambert2 at mindspring.com
Mon Apr 21 17:57:24 PDT 2003
Narvi wrote:
> If by "now" you mean Solaris 9, then yes, this is so. This is not a
> fundamental issue, merely how kernel API-s are used. On Solaris 8 you get
> both the "old" M:N version and the Solaris 9 style 1:1 version in
> /usr/lib/lwp. There is no way to tell what it will be in Solaris 9+x for
> some arbitrary positive value of x.
Right. The liblwp in SunOS 4.1.3_U2 (first appearing in SunOS 4.0.2,
I believe) is a totally different liblwp, as well (just the same name);
LWP used to be a purely user space abstraction.
Sun did this same thing in a different order; Linux too:
FreeBSD libc libc_r(N:1) libthr(1:1) libkse(N:M)
Sun libc liblwp(N:1) liblwp(N:M) liblwp(1:1)
Linux libc pthreads(N:1) pthreads(1:1) - (no N:M at all)
I've heard it anecdotally claimed that Sun made the change to
avoid bugs; I've also heard it anecdotally claimed by Sun
engineers that they made the change because they don't have
the man power remaining to perform ordinary maintenance on a
lot of their existing code base. Perhaps they were just
disgruntled, and the first excuse is the correct one... ;^).
-- Terry
More information about the freebsd-threads
mailing list