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
@@ -75,7 +75,7 @@ pub const Queue = struct {
self.hdr.lock.release(ipl);
// Wait until the queue has something for us.
_ = try ke.wait.wait_one(&self.hdr, timeout);
_ = try ke.wait.wait_one(&self.hdr, .{ .timeout = timeout });
// Grab the queue item and set it to null.
const ret = td.queue_item orelse unreachable;