[erlang-questions] max timeout
Tue Aug 19 00:12:56 CEST 2008
For some reason I have a vague recollection (that may very well be
wrong) that when this subject was discussed on the list before the
actual timeout number was less then 2^32... I have a case when I need
to put a process to sleep for up to a couple of days (e.g. not to run on
a weekend) - in practice I am doing a loop sleep with a smaller timeout
to compensate for time drifts and clock adjustments, but nevertheless
this question came up about a practical upper bound.
Ulf Wiger wrote:
> It does:
> Pattern1 [when GuardSeq1] ->
> PatternN [when GuardSeqN] ->
> ExprT ->
> "ExprT should evaluate to an integer. The highest allowed value is
> 16#ffffffff, that is, the value must fit in 32 bits."
> Ulf W
> 2008/8/18 Serge Aleynikov <saleyn@REDACTED>:
>> I recall this question being asked on the mailing list before, but I
>> can't seem to find that thread.
>> What's the MaxAllowedTimeout that can be specified in the after clause?
>> after MaxAllowedTimeout ->
>> It would be nice if the section 6.10 of the reference manual would
>> include this info.
>> erlang-questions mailing list
More information about the erlang-questions