mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
Replace busy-wait cli_delay with time-based cli_sleep in remaining files
This commit is contained in:
@@ -247,7 +247,7 @@ static void vm_syscall(int id) {
|
||||
break;
|
||||
}
|
||||
case SYS_SLEEP:
|
||||
cli_delay(pop() * 100000);
|
||||
cli_sleep(pop());
|
||||
push(0);
|
||||
break;
|
||||
// File IO - Not supported yet as FILE* cannot be easily passed to VM
|
||||
|
||||
Reference in New Issue
Block a user