chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] [4.6.0] thread-sleep! sleeps too much


From: Felix
Subject: Re: [Chicken-users] [4.6.0] thread-sleep! sleeps too much
Date: Mon, 28 Mar 2011 20:19:41 +0200 (CEST)

From: Nicolas Pelletier <address@hidden>
Subject: [Chicken-users] [4.6.0] thread-sleep! sleeps too much
Date: Mon, 28 Mar 2011 16:36:44 +0900

> Hello,
> 
> I've run into a case where a thread that uses thread-sleep! for a
> fixed amount of time seems to never wake up. I can reproduce this from
> csi as well:
> 
> CHICKEN
> (c)2008-2010 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.6.0
> linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
> compiled 2011-01-16 on gladstone.duckburg.org (Linux)
> 
> #;1> (require-extension srfi-18)
> ; loading library srfi-18 ...
> #;2> (thread-sleep! 10)
> #;3> (thread-sleep! (seconds->time (+ 10 (time->seconds (current-time)))))
> ^C
> 
> The last call to thread-sleep! does not return after 10 seconds, nor
> 20 seconds... Has someone already bumped into this?

Can you try a newer chicken version? I can't reproduce this right now.


cheers,
felix



reply via email to

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