linux-mips
[Top] [All Lists]

Re: pthread support in mipsel-linux

To: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Subject: Re: pthread support in mipsel-linux
From: "H . J . Lu" <hjl@lucon.org>
Date: Fri, 22 Feb 2002 09:14:17 -0800
Cc: Wayne Gowcher <wgowcher@yahoo.com>, Linux-MIPS <linux-mips@oss.sgi.com>
In-reply-to: <Pine.GSO.3.96.1020222175750.5266G-100000@delta.ds2.pg.gda.pl>; from macro@ds2.pg.gda.pl on Fri, Feb 22, 2002 at 06:06:58PM +0100
References: <20020222085310.A17035@lucon.org> <Pine.GSO.3.96.1020222175750.5266G-100000@delta.ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Fri, Feb 22, 2002 at 06:06:58PM +0100, Maciej W. Rozycki wrote:
> On Fri, 22 Feb 2002, H . J . Lu wrote:
> 
> > Mutex is now implemented with spin lock by default. BTW, how many
> 
>  Well, testandset() from linuxthreads/sysdeps/mips/pt-machine.h should
> work fine with -mips1.  As should __pthread_spin_lock() from
> linuxthreads/sysdeps/mips/pspinlock.c. 
> 
> > people have run "make check" on glibc compiled -mips1?
> 
>  No idea.  I may run `./configure && make all && make check' tonight on my
> system as it's going to be idle over the weekend anyway.  It should finish
> by Monday. ;-) 

You should also try "make check" on the current gcc 3.1. I found and
fixed the MIPS II ll/sc bugs by doing that.


H.J.

<Prev in Thread] Current Thread [Next in Thread>