[erlang-questions] Unexpected behaviour of timer:sleep
Kevin Scaldeferri
kevin@REDACTED
Wed Mar 19 18:11:27 CET 2008
On Mar 19, 2008, at 5:23 AM, shehan wrote:
> In WindowsXP.
>
> How ever in Red Hat Enterprise Linux ES release 3, below result
> came. It is
> also more than that. So timer:sleep(1) cannot be used as it is. I
> need to
> suspend process for 1 millisecond. But it is suspend 12 or 13
> milliseconds.
> Then my requirement cannot be achieved.
This is a OS issue, most likely. Try setting HZ=1000 and see if you
get any better results.
-kevin
More information about the erlang-questions
mailing list