summaryrefslogtreecommitdiff
path: root/test/nptl/tst-cancel4.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-cancel4.c')
-rw-r--r--test/nptl/tst-cancel4.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/nptl/tst-cancel4.c b/test/nptl/tst-cancel4.c
index 874de67e7..e7119589f 100644
--- a/test/nptl/tst-cancel4.c
+++ b/test/nptl/tst-cancel4.c
@@ -758,11 +758,8 @@ tf_sigpause (void *arg)
pthread_cleanup_push (cl, NULL);
- /* Just for fun block the cancellation signal. We need to use
- __xpg_sigpause since otherwise we will get the BSD version. */
- //__xpg_sigpause (SIGCANCEL);
-
- __sigpause (SIGCANCEL, 1);
+ /* Just for fun block the cancellation signal. */
+ sigpause (SIGCANCEL);
pthread_cleanup_pop (0);