From owner-freebsd-current@FreeBSD.ORG Mon Oct 11 23:59:20 2004 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 D01EB16A4CE for ; Mon, 11 Oct 2004 23:59:20 +0000 (GMT) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8097F43D45 for ; Mon, 11 Oct 2004 23:59:20 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) i9BNxIN4023395; Mon, 11 Oct 2004 19:59:19 -0400 (EDT) Date: Mon, 11 Oct 2004 19:59:16 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Matt Hamilton In-Reply-To: <416AB672.6090405@netsight.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) cc: freebsd-current@freebsd.org Subject: Re: threading issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2004 23:59:20 -0000 On Mon, 11 Oct 2004, Matt Hamilton wrote: > > All, > I am still trying to work out why pthread support on AMD64 appears > broken. (See message on -current 3/10/2004 "Re: 5.3-BETA5 AMD64 Python > problems"). > > I was looking in CVS, and saw a test suite in /usr/src/libpthread/test. > In running Make I get: > > ...compile stuff... > Test static library: > -------------------------------------------------------------------------- > Test c_user c_system c_total chng > passed/FAILED h_user h_system h_total % chng > -------------------------------------------------------------------------- > hello_d 0.00 0.00 0.00 > passed > -------------------------------------------------------------------------- > hello_s 0.00 0.01 0.01 > passed > -------------------------------------------------------------------------- > join_leak_d 0.04 0.00 0.04 > *** FAILED *** It doesn't really fail, the test just doesn't take into account the fact that the library caches threads and KSEs. > -------------------------------------------------------------------------- > mutex_d ^C > > it just hangs on mutex_d and I had to manually abort it. Does this work > on i386 systems? This is an AMD Opteron (HP DL145) running BETA7 as > compiled from -current at the weekend. It doesn't hang. The test just takes a long time to run. Run it manually and see for yourself. -- Dan Eischen