Subject: Re: threads?
To: None <netbsd-users@netbsd.org>
From: Cliff Wright <cliff@snipe444.org>
List: netbsd-users
Date: 07/22/2002 21:35:55
On Mon, 22 Jul 2002 08:40:09 +0100
Nick Hudson <skrll@netbsd.org> wrote:


> > (...are {unproven-pthreads,PTL2,PTH} still the recommended way?)
> 
> Yes.
One gotcha that got me is with the package system install of pth. the pthread  emulation mode is turned on with the "--enable-pthread" agument, however the "--enable-syscall-soft" was not used. This meant that after compiling a module that used pthreads a select call put the whole task to sleep rather than just the thread. I suspect this is a bug in that the 2 arguemnts should go together.