Subject: Re: Pthreads...
To: NetBSD Users <netbsd-users@netbsd.org>
From: Julio Merino <slink@unixbsd.org>
List: netbsd-users
Date: 04/10/2002 18:52:17
--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 10, 2002 at 08:54:38AM -0700, B. James Phillippe wrote:
> On the flaccid day of Apr 10, Jason R Thorpe penned:
>=20
> > Well, both PTL and FreeBSD pthreads are all-userland implementations.
> > This has certain drawbacks.  OTOH, LinuxThreads also has certain
>=20
> To John: FWIW, I've had the best success with threads on NetBSD using GNU
> pth (I'm using 1.4.0 from pkgsrc).  As another poster pointed out, you'll
> want to compile with -D_POSIX_THREAD_SYSCALL_SOFT=3D1 to enable non-block=
ing
> system call wrappers.  The pthreads application I'm working with compiles
> and works (for the most part) the same under NetBSD+pth, Linux, Solaris8
> and Darwin.

You can also try with devel/mit-pthreads.

HTH

>=20
> -bp
> --
> # bryan_at_darkforest_dot_org
> # Software Engineer
>=20

--=20
Of course it runs NetBSD - http://www.netbsd.org
Julio Merino <jmmv@hispabsd.org>

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8tG3Azz00ZOPKycwRAv0PAJ4ljc6UvxVeojOqKUgxFYn77a6dOgCgnfdQ
358qHILwC7Fm3PV4uUfI6zg=
=uUzI
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--