Subject: Re: libpthread
To: None <current-users@netbsd.org>
From: Daniel Carosone <dan@geek.com.au>
List: current-users
Date: 06/19/2003 20:43:19
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..

--
Dan.