[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] fix for multiple entries in ##sys#timeout-list
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] fix for multiple entries in ##sys#timeout-list |
Date: |
Tue, 23 Sep 2008 00:40:46 +0200 |
On Fri, Sep 19, 2008 at 11:17 PM, Jörg F. Wittenberger
<address@hidden> wrote:
>
> Besides the fix it includes a compatible modification to
> ##sys#all-threads, which I'd hereby like propose to go (probably in an
> improved form) into core chicken, since it allows one to get better
> impression of the system state than the current version. [It was very
> valuable when tracking down the double entry.] The modification allows
> two optional arguments, a fold-type of a function (which receives the
> enumerated queue, a possible wait reason argument, the enumerated thread
> and the accumulate result) and the initial fold-value.
Handy, indeed. I've changed it slightly to use #!optional and applied it
to trunk. Thanks, Joerg. It would make a nice foundation for a csi toplevel
command to list all ready threads.
cheers,
felix
Re: [Chicken-users] fix for multiple entries in ##sys#timeout-list, felix winkelmann, 2008/09/22
Re: [Chicken-users] fix for multiple entries in ##sys#timeout-list,
felix winkelmann <=