chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] fix for multiple entries in ##sys#timeout-list


From: F. Wittenberger
Subject: Re: [Chicken-users] fix for multiple entries in ##sys#timeout-list
Date: Sun, 21 Sep 2008 15:47:49 +0200

yet another instance of left over entries: threads unblocked by i/o
should not be any longer on the timeout list, otherwise the next timeout
*could* be quite short.  ;-)

Am Sonntag, den 21.09.2008, 13:31 +0200 schrieb Jörg F. Wittenberger:
> Am Freitag, den 19.09.2008, 23:30 +0200 schrieb Jörg F. Wittenberger:
> > > The attached patch fixes ##sys#thread-kill! wrt. to join timeouts.
> 
> The attached fix adds code to mutex-lock! and mutex-unlock! to remove
> the thread from the timeout-list when a timeout was supplied and the
> thread was not unblocked by timeout.

BTW: sorry for the fix still containing the bad-fd handling code and -
too - the extended ##sys#all-threads.  It's getting messy with the diffs
here around.  Please cherry-pick.

Attachment: scheduler.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]