Files
xserver/os
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
..
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2015-08-24 00:00:18 -07:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2015-01-26 10:40:30 -08:00
2014-01-22 19:56:31 -08:00
2013-10-31 16:58:12 -07:00