Subject: Re: Multithreading package for NetBSD
To: None <kyle.unice@L-3com.com>
From: John Franklin <franklin@elfie.org>
List: tech-kern
Date: 10/13/2002 12:13:54
On Thu, Oct 10, 2002 at 12:45:01PM -0600, kyle.unice@L-3com.com wrote:
> After looking around for some time, it is not clear what is the
> library/package of choice for multithreading applications on NetBSD.
> There is an unproven-pthreads library and a GNU pth library in the
> packages collection.  pthreads seems to be what most code uses, yet
> the NetBSD library is marked as "unproven" ... ( making me alittle
> nervous ).  What do most programmers use to multithread an application
> on NetBSD?

I use the pth-1.4.1nb2 package and compile with
-D_POSIX_THREAD_SYSCALL_SOFT=1 which #define translates blocking system
calls (such as read()) into thread-aware pth_*() calls.  This works
reasonably well.

jf
-- 
John Franklin
franklin@elfie.org
ICBM: 35°43'56"N 78°53'27"W