add header doc comments to non-obvious util data structures

This commit is contained in:
Ian Gulliver
2026-05-01 10:47:08 -07:00
parent 1e97058b9b
commit b565a5de4c
7 changed files with 22 additions and 0 deletions

View File

@@ -9,6 +9,9 @@ struct timer_entry {
using timer_handle = callback_list<timer_entry, 16>::node*;
// Deadline-sorted callback list with a single hardware alarm armed at the
// head. The alarm IRQ sets a flag; run() drains expired entries on the main
// loop, so callbacks execute in normal context rather than interrupt context.
struct timer_queue {
callback_list<timer_entry, 16> list;
alarm_id_t alarm = -1;