Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 16:41:14 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Miles Nordin <carton@Ivy.NET>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: pthread_mutex_timedlock on sparc64
Message-ID:  <20060420204114.GA29490@xor.obsecurity.org>
In-Reply-To: <oqk69khvsx.fsf@castrovalva.Ivy.NET>
References:  <20060418204240.GA69833@xor.obsecurity.org> <001801c66372$a032e770$2522630a@t22> <20060419054116.GA39394@xor.obsecurity.org> <Pine.GSO.4.64.0604190835400.1870@sea.ntplx.net> <20060420074713.Y52948@hades.admin.frm2> <20060420182331.GA26174@xor.obsecurity.org> <oqk69khvsx.fsf@castrovalva.Ivy.NET>

next in thread | previous in thread | raw e-mail | index | archive | help

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 20, 2006 at 03:49:18PM -0400, Miles Nordin wrote:
> >>>>> "kk" =3D=3D Kris Kennaway <kris@obsecurity.org> writes:
>=20
>     kk> Then we can make libthr the default on FreeBSD 6.x as well.
>=20
> 1. is libpthread a real library or a placeholder that you point at
>    your choice of thread implementation?

It's a library.  However, you can remap it with libmap.conf to switch
between implementations (libc_r, libpthread, libthr).

> 2. How many native thread implementations are there (in the base
>    system), working or not on all FreeBSD versions?  Two?  Or three?
>    or...

Varies by architecture and FreeBSD version.

> 3. What libraries do you link for each?

cc -pthread links to whatever version is specified by the user.

Kris
--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFER/HqWry0BWjoQKURAi8wAKDYtxgzi2uNnKQSqsV9EZGS6+LUpQCfUg1U
vQtdHaDf2t1RkXSYTyzx74Y=
=DvXw
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060420204114.GA29490>