From owner-freebsd-threads@FreeBSD.ORG Wed Apr 19 17:26:23 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org 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 01C0216A403; Wed, 19 Apr 2006 17:26:23 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4FEA43D60; Wed, 19 Apr 2006 17:26:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7FE581A4DA8; Wed, 19 Apr 2006 10:26:18 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9CEA554E6C; Wed, 19 Apr 2006 13:26:17 -0400 (EDT) Date: Wed, 19 Apr 2006 13:26:17 -0400 From: Kris Kennaway To: Daniel Eischen Message-ID: <20060419172617.GA70866@xor.obsecurity.org> References: <20060418204240.GA69833@xor.obsecurity.org> <001801c66372$a032e770$2522630a@t22> <20060419054116.GA39394@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-threads@freebsd.org, freebsd-sparc64@freebsd.org, Kris Kennaway Subject: Re: pthread_mutex_timedlock on sparc64 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 17:26:23 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 19, 2006 at 08:37:17AM -0400, Daniel Eischen wrote: > On Wed, 19 Apr 2006, Kris Kennaway wrote: >=20 > >On Wed, Apr 19, 2006 at 03:32:18PM +1000, Sean Winn wrote: > >>Kris Kennaway wrote: > >>>On Tue, Apr 18, 2006 at 07:28:00PM +1000, Sean Winn wrote: > >>>>owner-freebsd-sparc64@freebsd.org wrote: > >>>>> > >>>>>libthr *is* the thread library on sparc64; as Daniel says, > >>>>>libpthread is not ported to sparc64. > >>>>> > >>>>>Kris > >>>> > >>>>Not yet in 6.x > >>>> > >>>>19:25 Tue 18-Apr sean@bloody [~] uname -msr > >>>>FreeBSD 6.1-RC1 sparc64 > >>>>19:25 Tue 18-Apr sean@bloody [~] ls -l /usr/lib/libpthread.so > >>>>lrwxrwxrwx 1 root wheel 9 Apr 17 04:05 /usr/lib/libpthread.so -> > >>>>libc_r.so > >>> > >>>Oops, I forgot about that..although so did David when he removed > >>>libc_r from 7.0 and broke sparc :-) > >>> > >>>So I guess this is a libc_r missing feature. Probably the solution is > >>>to use libthr on 6.x too (I don't know if it works well enough on > >>>5.x). libthr causes witness panics under load on sparc64 though. > >>> > >>>Kris > >> > >>Would threading problems be related to sparc64/73413? I've noticed it > >>sitting idle for a long while, and the test case still core dumps. The > >>PR it references (sparc64/72998) also is open. > > > >Huh, turns out libpthread does exist on sparc, it's just called > >libkse. Anyway, since it's not in use the PR wasn't relevant. >=20 > Yeah, I implemented as much as I could for it, but it doesn't > work. So it's installed as libkse as a prod for someone to > finish and test it. OK, the PRs should just be suspended then. We need a list of the many unfinished or unimplemented bits of FreeBSD/sparc :( Kris --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFERnK3Wry0BWjoQKURAq4HAKDddhg9p0TRfvd+MueuLTKU8z618wCgpDOb hiYCgSCFq2BZWkEKFp92f7g= =jFbk -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--