diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-10-18 14:29:04 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-10-18 14:29:04 +0200 |
commit | e4b3707cea0eae2cf46a82534dd9279541e7415a (patch) | |
tree | c2246b8c9cf4f12e0de4e3cd050f15a751402fb3 /nptl/tst-cancel25.c | |
parent | 5e20aae5ee087f394f276bd556c5c1df52d76ff9 (diff) | |
download | glibc-e4b3707cea0eae2cf46a82534dd9279541e7415a.tar glibc-e4b3707cea0eae2cf46a82534dd9279541e7415a.tar.gz glibc-e4b3707cea0eae2cf46a82534dd9279541e7415a.tar.bz2 glibc-e4b3707cea0eae2cf46a82534dd9279541e7415a.zip |
nptl: SIGCANCEL, SIGTIMER, SIGSETXID are always defined
All nptl targets have these signal definitions nowadays. This
changes also replaces the nptl-generic version of pthread_sigmask
with the Linux version.
Tested on x86_64-linux-gnu and i686-linux-gnu. Built with
build-many-glibcs.py.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/tst-cancel25.c')
-rw-r--r-- | nptl/tst-cancel25.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nptl/tst-cancel25.c b/nptl/tst-cancel25.c index 24ddd3c01c..c6e1c23c02 100644 --- a/nptl/tst-cancel25.c +++ b/nptl/tst-cancel25.c @@ -12,7 +12,6 @@ static pthread_t th2; static void * tf2 (void *arg) { -#ifdef SIGCANCEL sigset_t mask; if (pthread_sigmask (SIG_SETMASK, NULL, &mask) != 0) { @@ -24,7 +23,6 @@ tf2 (void *arg) puts ("SIGCANCEL blocked in new thread"); exit (1); } -#endif /* Sync with the main thread so that we do not test anything else. */ int e = pthread_barrier_wait (&b); |