diff options
Diffstat (limited to 'sysdeps/posix/sigpause.c')
-rw-r--r-- | sysdeps/posix/sigpause.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c index 78b247ebd9..98b69d3c98 100644 --- a/sysdeps/posix/sigpause.c +++ b/sysdeps/posix/sigpause.c @@ -40,6 +40,9 @@ do_sigpause (int sig_or_mask, int is_sig) else if (sigset_set_old_mask (&set, sig_or_mask) < 0) return -1; + /* Note the sigpause() is a cancellation point. But since we call + sigsuspend() which itself is a cancellation point we do not have + to do anything here. */ return __sigsuspend (&set); } |