summaryrefslogtreecommitdiff
path: root/WindowServer/WSScreen.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-16 17:47:18 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-16 17:47:18 +0100
commita2ec09bc205ecbf746f9cc245054c24c50b6832a (patch)
treed4c2cebc2c5f5d1283ecadb6b401f0b20eed141a /WindowServer/WSScreen.cpp
parent4fef895edab80cbe2d9f886f5b769973af93a040 (diff)
downloadserenity-a2ec09bc205ecbf746f9cc245054c24c50b6832a.zip
Allow the scheduler to unblock the current process.
It's a bit confusing that the "current" process is not actually running while we're inside the scheduler. Perhaps the scheduler should redirect "current" to its own dummy Process. I'm not sure. Regardless, this patch improves responsiveness by allowing the scheduler to unblock a process right after it calls select() in case it already has a pending wakeup request.
Diffstat (limited to 'WindowServer/WSScreen.cpp')
0 files changed, 0 insertions, 0 deletions