General Question

Nullo's avatar

Does the typical desktop prioritize some inputs over others?

Asked by Nullo (22033points) 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

wundayatta's avatar

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.

blueiiznh's avatar

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.

Nullo's avatar

@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.

blueiiznh's avatar

Very true. And yes, some processes and threads run at differing priorities.

dabbler's avatar

@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

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther