|
PatchworkOS
da8a090
A non-POSIX operating system.
|
Per-CPU system time context. More...
#include <timer.h>
Data Fields | |
| clock_t volatile | deadline |
| clock_t volatile timer_cpu_ctx_t::deadline |
The next time the owner cpus apic timer will fire, specified in nanoseconds since boot, used in timer_set().
Will be accessed in interrupt and non-interrupt context, so must be declared volatile to avoid compiler optimizations that could lead to stale reads.