diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-10 11:35:05 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-20 08:57:01 +0100 |
commit | dc6cfdc934db9997c33728082d63552b9eee4563 (patch) | |
tree | f2b9641c24288f1d167a8062e35e726d5aefaf4e /nptl/Versions | |
parent | 7da5c345a5f527dc6213e8540e4a9c6eceeb6774 (diff) | |
download | glibc-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/Versions')
-rw-r--r-- | nptl/Versions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nptl/Versions b/nptl/Versions index bc1bad0562..4dbe68d76c 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -39,6 +39,8 @@ libc { __libc_pthread_init; __libc_current_sigrtmin_private; __libc_current_sigrtmax_private; __libc_allocate_rtsig_private; + # Used by the C11 threads implementation. + __pthread_cond_destroy; } } @@ -54,7 +56,7 @@ libpthread { pthread_mutexattr_init; pthread_mutexattr_destroy; - pthread_cond_init; pthread_cond_destroy; + pthread_cond_init; pthread_cond_wait; pthread_cond_timedwait; pthread_cond_signal; pthread_cond_broadcast; @@ -193,7 +195,7 @@ libpthread { GLIBC_2.3.2 { # Changed pthread_cond_t. - pthread_cond_init; pthread_cond_destroy; + pthread_cond_init; pthread_cond_wait; pthread_cond_timedwait; pthread_cond_signal; pthread_cond_broadcast; } |