[Ilugc] KERNEL / DISTRO / DESKTOP / APPLICATION interdependency?
- From: siva@xxxxxxxxxxx (Sivasankar Chander)
- Date: Wed Sep 1 22:23:35 2004
How does the kernel know which process' window has focus and give it an
interactivity boost?
Good question - I'm not exactly sure how it works, but there is an
priority boost for all processes that get input from
HID devices and output to the screen. When a window gets focus in X,
it gets a big boost, at the expense of stuff that's running quietly
in the background.
Isn't this behaviour just a xine quirk?
Nope, it's most visible in Xine, but applies to just about any GUI
program or in general to any program.
I would not want my compiles to get lower priority when my window focus
is on mutt :-P
Try doing two compiles side-by-side in two xterms and switch focus from
one to the other. I need to check this out, but I think the effect is
observable.
-Siva
Other related posts: