Looks like threading is b0rken on FreeBSD/powerpc

Suleiman Souhlal ssouhlal at FreeBSD.org
Thu Aug 3 19:03:47 UTC 2006

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

More information about the freebsd-current mailing list