[erlang-questions] Newbie question: wait until an absolute time

Kostis Sagonas kostis@REDACTED
Fri Feb 1 14:26:01 CET 2008


Alpár Jüttner wrote:
> Dear all,
> 
> ...
> 
> Anyway, is there any easy way to use a larger timeout than it is
> representable by a single integer?

Yes. As timeout value you can also use the atom 'infinity' ;-)

Seriously now, your question does not make much sense.  Erlang has 
integers that can grow quite a bit: as much as the memory of your 
machine allows them to. In Erlang, integer values are not restricted to 
those that fit in 32 or 64 bits. So, you can pretty much use any integer 
you like.

Kostis



More information about the erlang-questions mailing list