diff options
| author | Glenn Morris | 2012-07-07 11:16:15 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-07-07 11:16:15 -0700 |
| commit | 41f9404e0cb421fcea07538bbd686d54200ed92d (patch) | |
| tree | 9c603959ee77afdf3ae345c25c4a3244b2826930 /src/sysdep.c | |
| parent | 929e7845741487751d88cc43c180a540f3996210 (diff) | |
| download | emacs-41f9404e0cb421fcea07538bbd686d54200ed92d.tar.gz emacs-41f9404e0cb421fcea07538bbd686d54200ed92d.zip | |
* configure.in (BROKEN_SA_RESTART): Doc fix.
* src/sysdep.c, src/s/irix6-5.h: Related comments.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 475c977044b..0639b72285a 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1484,9 +1484,10 @@ sys_signal (int signal_number, signal_handler_t action) | |||
| 1484 | #if defined (SA_RESTART) | 1484 | #if defined (SA_RESTART) |
| 1485 | /* Emacs mostly works better with restartable system services. If this | 1485 | /* Emacs mostly works better with restartable system services. If this |
| 1486 | flag exists, we probably want to turn it on here. | 1486 | flag exists, we probably want to turn it on here. |
| 1487 | However, on some systems this resets the timeout of `select' | 1487 | However, on some systems (only hpux11 at present) this resets the |
| 1488 | which means that `select' never finishes if it keeps getting signals. | 1488 | timeout of `select' which means that `select' never finishes if |
| 1489 | BROKEN_SA_RESTART is defined on those systems. */ | 1489 | it keeps getting signals. |
| 1490 | We define BROKEN_SA_RESTART on those systems. */ | ||
| 1490 | /* It's not clear why the comment above says "mostly works better". --Stef | 1491 | /* It's not clear why the comment above says "mostly works better". --Stef |
| 1491 | When SYNC_INPUT is set, we don't want SA_RESTART because we need to poll | 1492 | When SYNC_INPUT is set, we don't want SA_RESTART because we need to poll |
| 1492 | for pending input so we need long-running syscalls to be interrupted | 1493 | for pending input so we need long-running syscalls to be interrupted |