diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-10 11:47:13 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-20 08:57:01 +0100 |
commit | ad96df2cd9194b84686c272257e96ea74caff72a (patch) | |
tree | 79e60424dc5ad85debebe8919398006a6ca194b8 /nptl/pthreadP.h | |
parent | dc6cfdc934db9997c33728082d63552b9eee4563 (diff) | |
download | glibc-ad96df2cd9194b84686c272257e96ea74caff72a.tar glibc-ad96df2cd9194b84686c272257e96ea74caff72a.tar.gz glibc-ad96df2cd9194b84686c272257e96ea74caff72a.tar.bz2 glibc-ad96df2cd9194b84686c272257e96ea74caff72a.zip |
nptl: Move pthread_cond_init implementation into libc
It is necessary to export __pthread_cond_init from libc because
the C11 condition variable needs it and is still left in libpthread.
This is part of the libpthread removal project:
<https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthreadP.h')
-rw-r--r-- | nptl/pthreadP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h index fd31fbc87f..06fb0d74c5 100644 --- a/nptl/pthreadP.h +++ b/nptl/pthreadP.h @@ -447,6 +447,7 @@ extern int __pthread_cond_destroy (pthread_cond_t *cond); libc_hidden_proto (__pthread_cond_destroy) extern int __pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *cond_attr); +libc_hidden_proto (__pthread_cond_init) extern int __pthread_cond_signal (pthread_cond_t *cond); extern int __pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex); extern int __pthread_cond_timedwait (pthread_cond_t *cond, |