From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Poor tasking performance
Date: Sun, 20 Jun 2004 09:18:35 GMT
Date: 2004-06-20T09:18:35+00:00 [thread overview]
Message-ID: <LDcBc.96419$dP1.316053@newsc.telia.net> (raw)
In-Reply-To: <E8ednbZKC8fuvUjdRVn-gw@comcast.com>
Robert I. Eachus wrote:
> And finally we are back to polling for some devices because the overhead
> is lower than using interrupts...
I can imagine that, but I doubt the keyboard is one of those devices.
> For keyboard input most systems, most of the time, use a protocol where
> _some_ keys cause interrupts, and others just place the data in a
> buffer. When the carriage return or whatever occurs, the entire buffer
> is read.
When I press a key, in most cases either a character shows up on the
screen or some action is triggered. I suppose modifier keys (Shift,
Ctrl, ...) and "dead" accents could be buffered. Right now I can only
come up with one case when letters don't have to be read immediately:
when the user is typing a password and characters are neither echoed nor
indicated with asterisks.
--
Björn Persson
jor ers @sv ge.
b n_p son eri nu
next prev parent reply other threads:[~2004-06-20 9:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-19 7:38 Poor tasking performance Adrian Knoth
2004-06-19 20:19 ` Robert I. Eachus
2004-06-19 23:51 ` Adrian Knoth
2004-06-19 23:58 ` Björn Persson
2004-06-20 5:28 ` Robert I. Eachus
2004-06-20 7:58 ` Adrian Knoth
2004-06-20 9:18 ` Björn Persson [this message]
2004-06-26 17:30 ` Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox