xserver-multidpi/hw/xfree86/os-support
Daniel Drake 94ab7455ab Allow system call restarts upon signal interruption
The X server frequently deals with SIGIO and SIGALRM interruptions.
If process execution is inside certain blocking system calls
when these signals arrive, e.g. with the kernel blocked on
a contended semaphore, the system calls will be interrupted.

Some system calls are automatically restartable (the kernel re-executes
them with the same parameters once the signal handler returns) but
only if the signal handler allows it.

Set SA_RESTART on the signal handlers to enable this convenient
behaviour.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Daniel Drake <drake@endlessm.com>
2015-09-21 10:41:46 -04:00
..
bsd Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
bus Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
hurd Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
linux xfree86/os-support/linux: Fix make distcheck 2015-07-16 12:32:38 -07:00
misc Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
shared Allow system call restarts upon signal interruption 2015-09-21 10:41:46 -04:00
solaris Remove apSolaris.shar (old "aperture" kernel driver for Solaris) 2015-04-21 16:57:07 -07:00
stub xfree86: Remove xf86ReadBIOS 2014-09-16 11:58:53 -04:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am xfree86: Add stubs for os-support to help adding new architecture support 2011-10-15 21:18:47 -07:00
xf86_OSlib.h On linux use <termios.h> instead of <termio.h> 2015-09-17 09:47:25 -04:00
xf86_OSproc.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86OSpriv.h xfree86: Remove xf86LinearVidMem 2014-09-16 11:58:53 -04:00