xserver-multidpi/hw/xfree86/os-support
Adam Jackson a6b9e8f1e5 linux: Fix CPU usage bug in console fd flushing
If the vt gets a vhangup from under us, then the tty will appear ready
in select(), but trying to tcflush() it will return -EIO, so we'll spin
around at 100% CPU for no reason.  Notice this condition and unregister
the handler if it happens.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-11-19 11:11:04 +10:00
..
bsd Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
bus xfree86: bus: assign PCI_SOURCES with the actual source files 2010-09-14 18:53:23 +03:00
hurd Do not trap access to timer and keyboard 2010-11-10 14:42:44 -08:00
linux linux: Fix CPU usage bug in console fd flushing 2010-11-19 11:11:04 +10:00
misc Fix breakage on alpha caused by c7680befe5 2009-10-06 20:58:30 -04:00
sco Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shared xfree86: Drop linux libc5 support from the SIGIO code 2010-10-18 15:40:28 -04:00
solaris Solaris: avoid memory leak if AGPIOC_INFO ioctl fails 2010-06-10 19:02:05 -07:00
sysv Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am Remove some unused assembly code and assyntax.h 2008-08-18 16:46:36 -04:00
xf86_OSlib.h Add new VT support for OpenSolaris & future Solaris releases 2009-08-13 21:56:06 -07:00
xf86_OSproc.h Move OS-specific VT key handler code from common to os-support 2010-01-25 11:10:00 -08:00
xf86OSpriv.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00