1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 17:15:08 +00:00

Kernel: Remove "requested wakeups" feature.

I only needed this to support the WindowServer living inside the kernel.
Now that it's been migrated to userspace, this can go. :^)
This commit is contained in:
Andreas Kling 2019-03-05 13:33:50 +01:00
parent 91031346e5
commit 1cc32ebc7e
3 changed files with 3 additions and 16 deletions

View file

@ -99,11 +99,6 @@ bool Scheduler::pick_next()
}
if (process.state() == Process::BlockedSelect) {
if (process.wakeup_requested()) {
process.m_wakeup_requested = false;
process.unblock();
return true;
}
if (process.m_select_has_timeout) {
auto now_sec = RTC::now();
auto now_usec = PIT::ticks_since_boot() % 1000;