mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 14:38:21 +00:00
ke/wait: make timeout parameter explicit
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user