Subject: Re: libpthread
To: None <,>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 06/20/2003 01:55:11
On Thu, Jun 19, 2003 at 08:43:19PM +1000, Daniel Carosone wrote:
> On Wed, Jun 18, 2003 at 10:22:40PM -0700, Soren Jacobsen wrote:
> > On 06/19 01:49, Lennart Augustsson wrote:
> > > Is there an easy way to disable NetBSD's native pthread library?
> > > (I can't handle having the kernel crash twice a day anymore.)
> > 
> > Probably best to just keep building it, but use pth for the packages
> > built via pkgsrc.
> > 
> > It looks like setting PREFER_NATIVE_PTHREADS=NO in mk.conf will do that.
> Its supposed to, but I have my suspicions whether it works in all
> cases for all packages - or at least there may have been problems
> with it in the past.
> On my SMP machines, I delete pthread*.h and libpthread* again
> after install, just to stop something picking them up by accident..

That's great, but I have to assume you're the *only user* of your
SMP machines.  Those of us with SMP machines that have other users we
wouldn't trust with the full rein of the machines are presently stuck
with -current as of, oh, I don't know, December? because to run anything
newer is tantamount o allowing random lusers to crash the system at will.

Honestly, I do not think it was a good decision on core's part to allow
the pthread code to come in in a state in which it would render the
preexisting SMP functionality so unstable as to be useless in a multiuser
environment, certainly not if it was going to stay that way for *months*
on end.