On Fri, Sep 19, 2008 at 11:17 PM, Jörg F. Wittenberger <[EMAIL PROTECTED]> 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 _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
