mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
ke/wait: make timeout parameter explicit
This commit is contained in:
+1
-1
@@ -257,7 +257,7 @@ pub fn enqueue(item: *WorkItem) void {
|
||||
|
||||
fn pool_manager(_: ?*anyopaque) void {
|
||||
while (true) {
|
||||
_ = ke.wait.wait_one(&pool_manager_event.hdr, null) catch unreachable;
|
||||
_ = ke.wait.wait_one(&pool_manager_event.hdr, .{}) catch unreachable;
|
||||
|
||||
// We have been signaled, go through every pool and grow it if needed.
|
||||
// Failure to grow is ignored, it is only a latency problem and should be fixed
|
||||
|
||||
Reference in New Issue
Block a user