Subject: Re: Two questions
To: Nathan J. Williams <email@example.com>
From: Mihai CHELARU <firstname.lastname@example.org>
Date: 04/29/2003 13:08:09
On Monday 28 April 2003 20:46, Nathan J. Williams wrote:
> I found that part of the early libpthread initialization - setting up
> the timer structures used by the alarm and sleep code - is done too
> early, when the library is loaded, rather than at the first call to
> pthread_create(). Fixed in src/lib/libpthread/pthread.c rev 1.18.
Thanks for the answer and fix.
> With that fix, your test program appears to run correctly (although
> the "while (i>0)" loop in th2 seems like it's missing something).
Well, this was originally another program that I used to check another
bug in pthreads(?) that was crashing my kernel. I can't reproduce it
anymore but I'm still struggleing :)