[erlang-questions] max timeout

Bjorn Gustavsson bgustavsson@REDACTED
Wed Aug 20 11:59:26 CEST 2008


On Tue, Aug 19, 2008 at 9:42 AM, Matthias Lang <matthias@REDACTED>wrote:

>
> This may be the thread you remember, it starts here:
>
>
> http://www.erlang.org/pipermail/erlang-questions/2008-February/032609.html
>
> Executive summary: In R11B-2, a timeout of 16#ffffFFFF doesn't work as
>    expected on a 32-bit machine. Something changed between R11B-2 and
>    R11B-5 which made it work in the shell, but still not in compiled
>    code. I haven't noticed anything in the release notes saying it's
>    been fixed for real.
>

Actually, a value of 16#ffffFFFF sometimes works, sometimes doesn't. It has
nothing to do with whether it is executed from the shell or from compiled
code.

The problem is an integer overflow. We will include a correction in R12B-4.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080820/ca8a2015/attachment.htm>


More information about the erlang-questions mailing list