Reduce wait in async executor.
This commit is contained in:
parent
feb7c8e839
commit
faa71d08c5
|
@ -116,7 +116,7 @@ impl Executor {
|
||||||
loop {
|
loop {
|
||||||
self.run_ready_tasks();
|
self.run_ready_tasks();
|
||||||
// TODO: We need some sort of semaphore wait here.
|
// TODO: We need some sort of semaphore wait here.
|
||||||
syscall::thread_sleep(50).unwrap();
|
syscall::thread_sleep(10).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue