MCPcopy Create free account
hub / github.com/Yoric/timer.rs / Timer

Class Timer

src/lib.rs:364–366  ·  view source on GitHub ↗

A timer, used to schedule execution of callbacks at a later date. In the current implementation, each timer is executed as two threads. The _Scheduler_ thread is in charge of maintaining the queue of callbacks to execute and of actually executing them. The _Communication_ thread is in charge of communicating with the _Scheduler_ thread (which requires acquiring a possibly-long-held Mutex) without

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected