From faa71d08c500f2b2ca1d62cbe6f783ff6051d388 Mon Sep 17 00:00:00 2001 From: Drew Galbraith Date: Sat, 1 Feb 2025 14:29:38 -0800 Subject: [PATCH] Reduce wait in async executor. --- rust/lib/mammoth/src/task/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/lib/mammoth/src/task/mod.rs b/rust/lib/mammoth/src/task/mod.rs index 4d8e8d1..44aab69 100644 --- a/rust/lib/mammoth/src/task/mod.rs +++ b/rust/lib/mammoth/src/task/mod.rs @@ -116,7 +116,7 @@ impl Executor { loop { self.run_ready_tasks(); // TODO: We need some sort of semaphore wait here. - syscall::thread_sleep(50).unwrap(); + syscall::thread_sleep(10).unwrap(); } }