diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-16 14:35:12 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-18 07:23:29 +0200 |
commit | c980eaff1d10cb169ba22ce00e75dae318df21f1 (patch) | |
tree | c7ccb44a122fff63f833c49a8ce4c49b601847f5 /cpukit/libcsupport/src/open.c | |
parent | serial/ns16550: Fix precision clock synthesizer (diff) | |
download | rtems-c980eaff1d10cb169ba22ce00e75dae318df21f1.tar.bz2 |
console: Be fair in simple console read
Wait for one tick in case no character is available after a call to
getchark(). Otherwise the system is constantly busy within an input
loop (for example in the RTEMS shell). The polled Termios driver uses
the same approach.
Diffstat (limited to 'cpukit/libcsupport/src/open.c')
0 files changed, 0 insertions, 0 deletions