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

Bengt Kleberg bengt.kleberg@REDACTED
Fri Feb 1 14:22:31 CET 2008


How large a timeout do you need? The maximum integer is Erlang is very
large.


bengt
On Fri, 2008-02-01 at 12:58 +0000, Alpár Jüttner wrote:
> Dear all,
> 
> Is there any simple way in erlang to wait until a certain absolute time
> or to do something at a specific time in the future ? Namely, I'm
> looking for the absolute counterpart of the functions sleep(),
> send_after(), apply_after() and the 'after TimeOut ->'.
> 
> Is it there anything like the opposite of  now_to_universal_time(Now)?
> 
> Anyway, is there any easy way to use a larger timeout than it is
> representable by a single integer?
> 
> Thanks,
> Alpar
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list