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 | |
| 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')
| -rw-r--r-- | src/s/irix6-5.h | 2 | ||||
| -rw-r--r-- | src/sysdep.c | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h index 7e5a5505ee2..30aca2b5416 100644 --- a/src/s/irix6-5.h +++ b/src/s/irix6-5.h | |||
| @@ -80,7 +80,7 @@ char *_getpty(); | |||
| 80 | 80 | ||
| 81 | #define NARROWPROTO 1 | 81 | #define NARROWPROTO 1 |
| 82 | 82 | ||
| 83 | #undef SA_RESTART | 83 | #undef SA_RESTART /* not the same as defining BROKEN_SA_RESTART */ |
| 84 | 84 | ||
| 85 | #undef TIOCSIGSEND /* defined in usg5-4-common.h */ | 85 | #undef TIOCSIGSEND /* defined in usg5-4-common.h */ |
| 86 | 86 | ||
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 |