xserver-multidpi/hw/xfree86/os-support/shared
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
..
agp_noop.c xfree86: os-support: fix old-style function definition warnings 2012-11-05 13:24:58 -06:00
ioperm_noop.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
kmod_noop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
platform_noop.c xfree86: use udev to provide device enumeration for kms devices (v10) 2012-07-06 10:20:19 +01:00
pm_noop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
posix_tty.c xf86OpenSerial: Add support server managed fds 2014-03-03 08:13:56 +01:00
sigio.c Allow system call restarts upon signal interruption 2015-09-21 10:41:46 -04:00
sigiostubs.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
vidmem.c xfree86: Remove xf86CheckMTRR 2014-09-16 11:58:53 -04:00
VTsw_noop.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
VTsw_usl.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00