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

Class MessageTimer

src/lib.rs:582–587  ·  view source on GitHub ↗

A timer, used to schedule delivery of messages 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 messages to deliver and of actually deliverying 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