Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 17:22:52 -0400
From:      Michael Edenfield <kutulu@kutulu.org>
To:        James Tanis <jtanis@mindspring.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Libthr stable enough for testing
Message-ID:  <20030529212252.GA922@basement.kutulu.org>
In-Reply-To: <20030529161818.4d92a3f3.jtanis@mindspring.com>
References:  <20030526225111.HVVN25800.out006.verizon.net@kokeb.ambesa.net> <3ED59893.5010301@isi.edu> <20030529210716.DVVC25800.out006.verizon.net@kokeb.ambesa.net> <20030529161818.4d92a3f3.jtanis@mindspring.com>

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

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

* James Tanis <jtanis@mindspring.com> [030529 17:18]:

> How does one go about using libthr? Is all that is
> involved is symlinking libc_r to libthr?

That's the easiest way.  You can also explicitly link applications=20
with -lthr instead of -lc_r.  And since libthr and libc_r are both 6=20
characters long, you could also use ed/sed/etc. to s/libc_r/libthr/ in=20
the executable itself. =20

Also, there is a patch (I think it's still a patch) floating around=20
the mailing list archives to use an external config file so you can=20
replace the threading library at run-time per-executable.

--Mike


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

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

iD8DBQE+1noqCczNhKRsh48RAprLAJ99n/iBFnBCLgJo6RY45PK4HuX4GwCdEe4H
2DRU10nArSPB5yd5gZHElsw=
=JkjB
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--



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