shrub/pub/doc/arvo/time.md

22 lines
805 B
Markdown
Raw Normal View History

2015-02-18 06:03:21 +03:00
<div class="short">
`%time`
=======
2015-04-29 00:03:11 +03:00
Our simple timer.
2015-02-18 06:03:21 +03:00
It allows vanes and applications to set and timer events, which are
managed in a simple priority queue. `%time` produces effects to start
the unix timer, and when the requested `%time` passes, unix sends wake
events to `%time`, which time routes back to original sender. We don't
guarantee that a timer event will happen at exactly the `%time` it was
set for, or even that it'll be particularly close. A timer event is a
request to not be woken until after the given time.
`%eyre` uses `%time` for timing out sessions, and `%clay` uses `%time`
for keeping track of time-specified file requests. `%ames` should
probably use `%time` to keep track of things like network timeouts and
retry timing, but it currently uses its own alarm system.
</div>