Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 16:53:40 -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:  <20060420205340.GA29736@xor.obsecurity.org>
In-Reply-To: <oq64l4ht5o.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> <20060420204114.GA29490@xor.obsecurity.org> <oq64l4ht5o.fsf@castrovalva.Ivy.NET>

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

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 20, 2006 at 04:46:27PM -0400, Miles Nordin wrote:
> >>>>> "kk" =3D=3D Kris Kennaway <kris@obsecurity.org> writes:
>=20
>     kk> (libc_r, libpthread, libthr).
>=20
> so these three are mutually exclusive?

They are different, incompatible pthread implementations, yes.

> Isn't libkse a fourth option,
> when it starts working?  Which is which (1:N, 1:1, MxN)?

libkse is the same code as what is installed as libpthread on other
architectures (i.e. M:N), but since it doesn't work on sparc it is not
not installed as libpthread (libthr or libc_r are depending on
version).

>     kk> cc -pthread links to whatever version is specified by the
>     kk> user.
>=20
> but...I'm the user.  I specify how?  Are you supposed to always
> specify -lpthread at build time and then configure with libmap.conf?

-pthread, not -lpthread.  But yes, libmap.conf or equivalent
mechanisms (see manpage).

Kris

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFER/TUWry0BWjoQKURAi7MAKCRlfytOXX7X3fgLOkPqz84EGGa6ACguWX7
3XUO7ZOTVp4iJqVBx3mmkhw=
=oAux
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--



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