From owner-freebsd-current@FreeBSD.ORG Thu May 29 14:22:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDFA437B404 for ; Thu, 29 May 2003 14:22:59 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC7D443F85 for ; Thu, 29 May 2003 14:22:58 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: by basement.kutulu.org (Postfix, from userid 1001) id 702BFA933; Thu, 29 May 2003 17:22:52 -0400 (EDT) Date: Thu, 29 May 2003 17:22:52 -0400 From: Michael Edenfield To: James Tanis Message-ID: <20030529212252.GA922@basement.kutulu.org> Mail-Followup-To: James Tanis , freebsd-current@freebsd.org 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20030529161818.4d92a3f3.jtanis@mindspring.com> User-Agent: Mutt/1.4.1i X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F cc: freebsd-current@freebsd.org Subject: Re: Libthr stable enough for testing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 21:23:00 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * James Tanis [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--