Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2006 21:03:34 +0200
From:      Suleiman Souhlal <ssouhlal@FreeBSD.org>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        Daniel Eischen <deischen@freebsd.org>, "current@freebsd.org" <current@freebsd.org>, Maxim Sobolev <sobomax@sippysoft.com>, freebsd-ppc@freebsd.org
Subject:   Re: Looks like threading is b0rken on FreeBSD/powerpc
Message-ID:  <44D24886.1090500@FreeBSD.org>
In-Reply-To: <44D2416A.3070806@freebsd.org>
References:  <44D12AC0.90009@sippysoft.com>	<0C6ADBC1-E3DF-47D1-AA77-EA9BD14E059F@xcllnt.net>	<Pine.GSO.4.64.0608030810150.12639@sea.ntplx.net>	<44D22C7A.8030204@sippysoft.com>	<Pine.GSO.4.64.0608031307200.13543@sea.ntplx.net> <44D2416A.3070806@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Grehan wrote:
>> No, I've no idea.  Nothing's changed that I know of.  I'm surprised
>> that it (powerpc libpthread) works!  I know some supporting MD bits
>> were added to libpthread but never knew that they actually worked :)
> 
> 
>  It only works in system scope. In theory it could work in process 
> scope, though there's no simple way to determine if floating point regs 
> have been used by another thread so you have to unconditionally 
> context-switch fp state.
> 
>  I did a limited amount of testing, mostly with apps and the Sun 
> 'ping-pong' thread test. I think Suleiman also ran up a bunch of larger 
> apps with it (e.g. apache-threads).

I believe I only tried apache-threads with libthr. In fact, I don't 
think I've ever even used libpthread on powerpc.. :-(

-- Suleiman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D24886.1090500>