about summary refs log tree commit diff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-11 15:21:59 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-04-21 15:10:07 -0300
commit2f6fa80147f0cf74c0d411a0e07c5655deb436b3 (patch)
treeb080b4403905e80808140ecae77bc250654a7fc0 /nptl/pthreadP.h
parent34d49f120df2787788acfdf86769277a1a7ebccb (diff)
downloadglibc-2f6fa80147f0cf74c0d411a0e07c5655deb436b3.tar.gz
glibc-2f6fa80147f0cf74c0d411a0e07c5655deb436b3.tar.xz
glibc-2f6fa80147f0cf74c0d411a0e07c5655deb436b3.zip
linux: Use pthread_sigmask on sigprocmask
With pthread_sigmask on libc.so, it allows implement sigprocmask
on top of pthread_sigmask.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r--nptl/pthreadP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 06fb0d74c5..c4e72f57a9 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -482,6 +482,8 @@ extern void __pthread_testcancel (void);
 extern int __pthread_clockjoin_ex (pthread_t, void **, clockid_t,
 				   const struct timespec *, bool)
   attribute_hidden;
+extern int __pthread_sigmask (int, const sigset_t *, sigset_t *);
+libc_hidden_proto (__pthread_sigmask);
 
 
 #if IS_IN (libpthread)