Commit 0fdcb867 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(wait_for_termination): Use sigsuspend rather than sigpause.

parent d3109773
......@@ -487,11 +487,7 @@ wait_for_termination (pid)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment