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:
parent
91031346e5
commit
1cc32ebc7e
3 changed files with 3 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue