On Fri, Jul 11, 2008 at 3:16 AM, William Xu <[EMAIL PROTECTED]> wrote:
>
> It prints the first number 0, which is called before thread-sleep!.
> After that, it'll wait for me to input something random(here, "what?"),
> then it'll continute running the thread.

On Linux this runs fine, but I'll check that (should I ever get a chance
to hack some Scheme in the next days, which I doubt...).

>
> The other problem is that after running this thread, and even after it's
> finished, csi starts to takes up to around 97% cpu usage!! on my dual
> core macbook.  Then I have to restart csi.

When the counter reaches five, your thread goes into an endless loop.
This will of course consume all CPU time.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to