diff options
| author | Gerd Moellmann | 2001-09-20 13:24:09 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-20 13:24:09 +0000 |
| commit | ac3ac8592fb5ac77fe485a09866944108370b3ca (patch) | |
| tree | 04f2235e985e64bde2b7b5e41b62c3931b92fa43 /src | |
| parent | 3fed8ad5b94dc8a362a545cd393a5c471b7722cd (diff) | |
| download | emacs-ac3ac8592fb5ac77fe485a09866944108370b3ca.tar.gz emacs-ac3ac8592fb5ac77fe485a09866944108370b3ca.zip | |
(wait_for_termination): Add a FIXME comment for the use of non-POSIX
sigpause.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 1be3c62c1da..2a0f5df4d90 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -485,6 +485,11 @@ wait_for_termination (pid) | |||
| 485 | sigunblock (sigmask (SIGCHLD)); | 485 | sigunblock (sigmask (SIGCHLD)); |
| 486 | break; | 486 | break; |
| 487 | } | 487 | } |
| 488 | |||
| 489 | /* FIXME: Since sigpause is not POSIX and its use is deprecated, | ||
| 490 | this should probably be `sigsuspend (&empty_mask)', which is | ||
| 491 | POSIX. I'm not making that change right away because the | ||
| 492 | release is nearing. 2001-09-20 gerd. */ | ||
| 488 | sigpause (SIGEMPTYMASK); | 493 | sigpause (SIGEMPTYMASK); |
| 489 | #else /* not POSIX_SIGNALS */ | 494 | #else /* not POSIX_SIGNALS */ |
| 490 | #ifdef HAVE_SYSV_SIGPAUSE | 495 | #ifdef HAVE_SYSV_SIGPAUSE |