|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Borrowed clock service, invoked under the scheduler mutex on UI or producer threads. read must be thread-safe, nonblocking and non-reentrant. Context must outlive Scheduler; stopped publishers never read it. Null read selects the steady clock. More...
#include <scheduler.hpp>
Public Types | |
| using | Reader = SchedulerTime (*)(void *) noexcept |
| Read monotonic milliseconds from the borrowed context; cannot throw or reenter the scheduler. | |
Public Attributes | |
| Reader | read {} |
| Monotonic millisecond reader. | |
| void * | context {} |
| Borrowed reader context. | |
Borrowed clock service, invoked under the scheduler mutex on UI or producer threads. read must be thread-safe, nonblocking and non-reentrant. Context must outlive Scheduler; stopped publishers never read it. Null read selects the steady clock.