Expand description
Bounded, allocation-free SMP queue between logging and framebuffer rendering. Formatting/rendering never retains a reference to a released queue slot.
Re-exportsยง
use core::sync::atomic::AtomicBool;๐use core::sync::atomic::Ordering;๐use log_queue::Line;๐use log_queue::LogQueue;๐
Modulesยง
- log_
queue ๐ - Fixed-storage log queue. Safe publication under SMP and bounded overflow.
Constantsยง
Staticsยง
- CONSOLE_
TASK_ ๐ACTIVE - QUEUE ๐
Functionsยง
- console_
render_ ๐tick - Single writer acquisition per tick: apply deferred mouse input, drain a bounded log batch, then present once. If the lock is busy, retry next tick.
- console_
task_ active - console_
task_ main - One render opportunity per timer tick, independent of commands/status I/O.
- vgabuf_
drain_ ๐discard - vgabuf_
flush_ all - vgabuf_
flush_ ๐all_ direct - vgabuf_
flush_ to_ framebuffer - Render a bounded batch. Retrying pending presents also displays the last keyboard echo/log fragment when no subsequent message arrives.
- vgabuf_
total_ dropped - vgabuf_
total_ written - vgabuf_
write - write_
line ๐