Coda File System

Re: LWP on top of pthreads

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 18 Sep 2003 18:40:29 -0400
On Thu, Sep 18, 2003 at 04:01:24PM -0400, Jan Harkes wrote:
> The testprograms are named cswitch_pt, rw_pt, tdb_pt and testlwp_pt.
> Ok, it looks like there is a problem with terminating all threads
> nicely, when the testprograms finish they fail to exit and start
> burning 100% CPU.

Arghh, I guess the combination of a slow CPU + valgrind doesn't really
push the implementation enough. I found several problems where a thread
wouldn't terminate correctly if it got cancelled while waiting to be
scheduled and some other things.

I committed fixes for lwp/src-pt/lwp.private.h and lwp/src-pt/lwp_pt.c
to CVS, all the testprograms seem to work again.

Jan
Received on 2003-09-18 18:45:48