mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
Make the stage2 init task sleep dreamily when finished.
Something is off about scheduling, I don't think the kernel is handing out all the available time to processes that are available to run.
This commit is contained in:
parent
fdc782c1d1
commit
571dc8234f
Notes:
sideshowbarker
2024-07-19 18:38:52 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/571dc8234fb
1 changed files with 1 additions and 0 deletions
|
@ -165,6 +165,7 @@ static void init_stage2()
|
|||
#endif
|
||||
|
||||
for (;;) {
|
||||
sleep(3600 * TICKS_PER_SECOND);
|
||||
asm("hlt");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue