Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 22:24:16 -0400 (EDT)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        David Xu <davidxu@freebsd.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: SMPing libpthread
Message-ID:  <Pine.GSO.4.10.10304282222350.28966-100000@pcnet1.pcnet.com>
In-Reply-To: <006101c30df5$00438740$f001a8c0@davidw2k>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Apr 2003, David Xu wrote:

> 
> ----- Original Message ----- 
> From: "Daniel Eischen" <eischen@pcnet1.pcnet.com>
> To: "David Xu" <davidxu@viatech.com.cn>
> Cc: <freebsd-threads@freebsd.org>
> Sent: Tuesday, April 29, 2003 7:59 AM
> Subject: Re: SMPing libpthread
> 
> 
> > On Mon, 28 Apr 2003, David Xu wrote:
> > 
> > > I have updated the libpthread SMP patch.
> > > http://people.freebsd.org/~davidxu/libpthread_smp.diff
> > > default is SMP enabled in the patch. the patch past all ACE tests,
> > > also crew program was tested.
> > 
> > Committed.  I also made spinlock/spinunlock critical regions.
> > Take a look at it and see if you think it'll work OK.  All
> > my tests pass with this.
> > 
> 
> I found some DNS routines are using spinlock! so they
> may be blocked in network transaction, it would lock out
> our scheduler. I think we still need to rescure PS_SPINBLOCK
> code from libc_r.

No, let's replace them with mutexes.  They shouldn't have
crept in.  Is this with the new NSS code that was just added?

> > We still have a problem with mozilla.  When I first got
> > libkse working, mozilla worked for me but now it hangs
> > upon startup (no window ever gets displayed).
> > 
> Can you use gdb and press ctrl+c to see where it is dead loop?

No, only SIGKILL works.  See my other post about rtld :-)

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10304282222350.28966-100000>