mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 06:28:21 +00:00
ke/wait: add wait_reason
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user