From owner-freebsd-threads@FreeBSD.ORG Tue Jun 8 05:24:56 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A5D816A4CE; Tue, 8 Jun 2004 05:24:56 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89D5343D45; Tue, 8 Jun 2004 05:24:55 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i585Nvel096804; Tue, 8 Jun 2004 01:23:57 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Scott Long In-Reply-To: <40C54CC4.8090602@freebsd.org> References: <1086671609.18374.18.camel@shumai.marcuscom.com> <40C54CC4.8090602@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BHBN6it8T3voSfmtqZO4" Organization: MarcusCom, Inc. Message-Id: <1086672287.18374.22.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 08 Jun 2004 01:24:47 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: freebsd-amd64@freebsd.org cc: freebsd-gnome@freebsd.org cc: freebsd-threads@freebsd.org cc: freebsd-current@freebsd.org cc: Sean McNeil Subject: Re: weak implementation of threads has problems - kse fix attached X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 05:24:56 -0000 --=-BHBN6it8T3voSfmtqZO4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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: > >=20 > >>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 respectful= ly > >>>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 referen= ces. > >>As I've said before, build your shared libraries correctly so they don'= t > >>bring in the threads library. > >=20 > >=20 > > 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? > >=20 > > Joe > >=20 >=20 > 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 >=20 > Scott --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-BHBN6it8T3voSfmtqZO4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAxU2fb2iPiv4Uz4cRAqf5AJ9SfU4UTuiLp7I2I3Etf47S465qogCfRYdO O0S9uJCFTifzADBw6cK3euE= =IIbB -----END PGP SIGNATURE----- --=-BHBN6it8T3voSfmtqZO4--