]> git.eshelyaron.com Git - emacs.git/commitdiff
(wait_for_termination): Use sigsuspend rather than sigpause.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 Mar 2002 22:53:13 +0000 (22:53 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 Mar 2002 22:53:13 +0000 (22:53 +0000)
src/sysdep.c

index b951b545fbe496e3052d05b336ad1b7aa4cf89d8..75d929e54ca18ab766d53472fe45931392b0fd9d 100644 (file)
@@ -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);