From owner-freebsd-threads@FreeBSD.ORG Tue Apr 12 08:30:00 2005 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 3E32D16A4CE; Tue, 12 Apr 2005 08:30:00 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC0D143D45; Tue, 12 Apr 2005 08:29:59 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 55A531F1AA; Tue, 12 Apr 2005 10:29:59 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 418976377; Tue, 12 Apr 2005 10:29:59 +0200 (CEST) Date: Tue, 12 Apr 2005 10:29:59 +0200 From: Marc Olzheim To: David Xu Message-ID: <20050412082959.GA17607@stack.nl> References: <200504111210.j3BCAZmU002870@freefall.freebsd.org> <425B02BB.5060904@freebsd.org> <20050412071220.GA17393@stack.nl> <425B866C.4010609@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <425B866C.4010609@freebsd.org> X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i cc: Marc Olzheim cc: freebsd-threads@freebsd.org Subject: Re: threads/76690: fork hang in child for (-lc_r & -lthr) 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, 12 Apr 2005 08:30:00 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 12, 2005 at 04:27:24PM +0800, David Xu wrote: > You have to fix it in uthread_fork.c, lock __malloc_lock over=20 > __sys_fork() call. > but why libc_r ? it is depreciated. Than drop support for it and remove it from base (move it to ports ?), or fix it... Besides from that: It's the only threading library available in FreeBSD 4.x, so I'd rather have it fixed. :-) Marc --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCW4cGezjnobFOgrERAgjGAKCeN2odDGt+p6RUIAJLIpfzNNP+DACggdc3 lmVCGAe49eVqfnyU6Az+HVk= =x+Oc -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--