Mercurial > emacs
changeset 44099:0400b67840ba
(wait_for_termination): Use sigsuspend rather than sigpause.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 22 Mar 2002 22:53:13 +0000 |
parents | b38366975f18 |
children | 57e965380c39 |
files | src/sysdep.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sysdep.c Fri Mar 22 22:46:29 2002 +0000 +++ b/src/sysdep.c Fri Mar 22 22:53:13 2002 +0000 @@ -487,11 +487,7 @@ break; } - /* FIXME: Since sigpause is not POSIX and its use is deprecated, - this should probably be `sigsuspend (&empty_mask)', which is - POSIX. I'm not making that change right away because the - release is nearing. 2001-09-20 gerd. */ - sigpause (SIGEMPTYMASK); + sigsuspend (&empty_mask); #else /* not POSIX_SIGNALS */ #ifdef HAVE_SYSV_SIGPAUSE sighold (SIGCHLD);