1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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>
This commit is contained in:
Florian Weimer
2020-02-10 11:35:05 +01:00
parent 7da5c345a5
commit dc6cfdc934
35 changed files with 13 additions and 64 deletions

View File

@@ -58,5 +58,6 @@ __pthread_cond_destroy (pthread_cond_t *cond)
/* The memory the condvar occupies can now be reused. */
return 0;
}
versioned_symbol (libpthread, __pthread_cond_destroy,
libc_hidden_def (__pthread_cond_destroy)
versioned_symbol (libc, __pthread_cond_destroy,
pthread_cond_destroy, GLIBC_2_3_2);