Does the typical desktop prioritize some inputs over others?
Asked by
Nullo (
22033)
October 25th, 2012
Say I click a link and hit the Escape key in such a fashion that the machine receives both inputs simultaneously. Which does it go with? Or does it try to execute both and get tangled up?
Observing members:
0
Composing members:
0
5 Answers
My computer seems to disappear into lala land at such times. But then, it’s a Windows machine. Is it true that Apples never do that?
Meaning, I have to do a hard reboot sometimes.
We are talking about a machine that responds to things measured in nanoseconds. There really is nothing simultaneously pressed. It simply acts on things in order.
@blueiiznh In an infinite universe, or even a finite one, someone has sent conflicting data to the computer in such a fashion that both instructions arrived at once.
Very true. And yes, some processes and threads run at differing priorities.
@Nullo “In an infinite universe, or even a finite one, someone has sent conflicting data to the computer in such a fashion that both instructions arrived at once.”
That may seem reasonable but isn’t really effectively true. @blueiiznh is correct, practically it just doesn’t happen.
Even if multiple I/O signals “arrive” at exactly the same time, the system isn’t ‘looking at’ all of them simultaneously. The system will stage them in an interrupt queue, prioritizing by type, and will observe and process each in turn. It only ‘looks at’ one thing at a time.
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.