ke/wait: add wait_reason

This commit is contained in:
Loïc Grégoire
2026-08-02 00:02:00 -04:00
parent 05c7694776
commit 24372a2b4e
12 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ fn drain_from_all(seq: usize) usize {
fn worker(_: ?*anyopaque) void {
while (true) {
_ = ke.wait.wait_one(&ke.log.event.hdr, .{}) catch unreachable;
_ = ke.wait.wait_one(&ke.log.event.hdr, "console_worker", .{}) catch unreachable;
ke.log.event.reset();
last_seq = drain_from_all(last_seq);