mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Add wait_until_* functionality to Waiter
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
6a5a5b4d3d
commit
1873bb7a3f
@ -264,7 +264,7 @@ impl Monitor {
|
||||
for local_pool in worker_pool.local_pools.iter() {
|
||||
local_pool.set_heartbeat(false);
|
||||
}
|
||||
sleep_queue.wait_until_or_timeout(|| -> Option<()> { None }, &sleep_duration);
|
||||
let _ = sleep_queue.wait_until_or_timeout(|| -> Option<()> { None }, &sleep_duration);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user