pthread_mutex_timedlock on sparc64

Kris Kennaway kris at obsecurity.org
Tue Apr 18 20:43:11 UTC 2006


On Tue, Apr 18, 2006 at 07:28:00PM +1000, Sean Winn wrote:
> owner-freebsd-sparc64 at 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 at bloody [~] uname -msr
> FreeBSD 6.1-RC1 sparc64
> 19:25 Tue 18-Apr sean at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20060418/e82a0ed4/attachment.pgp


More information about the freebsd-threads mailing list