about summary refs log tree commit diff
path: root/nptl/pthreadP.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-02-10 11:35:05 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-02-20 08:57:01 +0100
commitdc6cfdc934db9997c33728082d63552b9eee4563 (patch)
treef2b9641c24288f1d167a8062e35e726d5aefaf4e /nptl/pthreadP.h
parent7da5c345a5f527dc6213e8540e4a9c6eceeb6774 (diff)
downloadglibc-dc6cfdc934db9997c33728082d63552b9eee4563.tar.gz
glibc-dc6cfdc934db9997c33728082d63552b9eee4563.tar.xz
glibc-dc6cfdc934db9997c33728082d63552b9eee4563.zip
nptl: Move pthread_cond_destroy implementation into libc
It is necessary to export __pthread_cond_destroy 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index df4b1a0cda..fd31fbc87f 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -444,6 +444,7 @@ extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock);
 extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
 extern int __pthread_cond_broadcast (pthread_cond_t *cond);
 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);
 extern int __pthread_cond_signal (pthread_cond_t *cond);