diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-03-04 15:14:56 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-03-04 15:14:56 -0800 |
commit | 2cfe32bc05b11b0dc633cd04f48f47734faf2399 (patch) | |
tree | 34b736b8344a6ceec8eeae0773d288ffa1b78c92 /nptl/tst-cancel4.c | |
parent | e27176eea8aa74400204be4d3400e9723169fcaf (diff) | |
download | glibc-2cfe32bc05b11b0dc633cd04f48f47734faf2399.tar.gz glibc-2cfe32bc05b11b0dc633cd04f48f47734faf2399.tar.xz glibc-2cfe32bc05b11b0dc633cd04f48f47734faf2399.zip |
Conditionalize some test code for SIGRTMIN, SA_SIGINFO.
Diffstat (limited to 'nptl/tst-cancel4.c')
-rw-r--r-- | nptl/tst-cancel4.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/tst-cancel4.c b/nptl/tst-cancel4.c index 4916746614..e50afd7900 100644 --- a/nptl/tst-cancel4.c +++ b/nptl/tst-cancel4.c @@ -781,9 +781,13 @@ tf_sigpause (void *arg) pthread_cleanup_push (cl, NULL); +#ifdef SIGCANCEL /* Just for fun block the cancellation signal. We need to use __xpg_sigpause since otherwise we will get the BSD version. */ __xpg_sigpause (SIGCANCEL); +#else + pause (); +#endif pthread_cleanup_pop (0); |