Date: Tue, 08 Jun 2004 01:24:47 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Scott Long <scottl@freebsd.org> Cc: Sean McNeil <sean@mcneil.com> Subject: Re: weak implementation of threads has problems - kse fix attached Message-ID: <1086672287.18374.22.camel@shumai.marcuscom.com> In-Reply-To: <40C54CC4.8090602@freebsd.org> References: <Pine.GSO.4.10.10406080028070.11500-100000@pcnet5.pcnet.com> <1086671609.18374.18.camel@shumai.marcuscom.com> <40C54CC4.8090602@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, 2004-06-08 at 01:21, Scott Long wrote: > Joe Marcus Clarke wrote: > > On Tue, 2004-06-08 at 00:32, Daniel Eischen wrote: > > > >>On Mon, 7 Jun 2004, Sean McNeil wrote: > >> > >> > >>>Up front, I'd like to make a few apologies: > >>> > >>>1) I am sorry for the length of this email. > >>>2) Although some very valid opinions have been expressed, I respectfully > >>>have to disagree. This email will hopefully strengthen my position. > >> > >>Please stop spamming multiple lists. > >> > >>No, I don't want to litter all our thread libraries with strong references. > >>As I've said before, build your shared libraries correctly so they don't > >>bring in the threads library. > > > > > > In order to do this, I'm a strong proponent of making -pthread the > > default PTHREAD_LIBS from 4.X and 5.X. This will do the right thing in > > all cases, and reduces diffs among branches. What is keeping this from > > happening from a threading standpoint? > > > > Joe > > > > If you're going to change default behaviour like this then you need to > do it before 5.3 and live with the change for the entire life of 5.x. > I oppose changing it in 4.x. Right, this would only be a change for 5.X, and would make it identical to 4.X. -pthread works for 5.X right now, and will link executables to libpthread. Shared objects will only use libpthread to resolve symbols at link-time. Joe > > Scott -- PGP Key : http://www.marcuscom.com/pgp.asc [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAxU2fb2iPiv4Uz4cRAqf5AJ9SfU4UTuiLp7I2I3Etf47S465qogCfRYdO O0S9uJCFTifzADBw6cK3euE= =IIbB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1086672287.18374.22.camel>
