[next][previous][up][top][index]
search for:

alarm -- set an alarm

alarm n -- arrange for an interrupt to occur in n seconds, cancelling any previously set alarm.

If n is zero, then no alarm is scheduled, and any previously scheduled alarm is cancelled.

The value returned is the number of seconds remaining until any previously scheduled alarm was due to be delivered, or zero if there was no previously scheduled alarm.

This command could be used in concert with try in order to abandon a computation that is taking too long.

This command may interfere with time on some systems, causing it to provide incorrect answers.


[next][previous][up][top][index]
search for: