ke/wait: make timeout parameter explicit

This commit is contained in:
Loïc Grégoire
2026-08-01 22:44:22 -04:00
parent 02d2fb5144
commit 05c7694776
11 changed files with 27 additions and 19 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, null) catch unreachable;
_ = ke.wait.wait_one(&ke.log.event.hdr, .{}) catch unreachable;
ke.log.event.reset();
last_seq = drain_from_all(last_seq);