mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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>
This commit is contained in:
@@ -31,15 +31,11 @@ struct xid_command;
|
||||
struct pthread_functions
|
||||
{
|
||||
int (*ptr___pthread_cond_broadcast) (pthread_cond_t *);
|
||||
int (*ptr___pthread_cond_init) (pthread_cond_t *,
|
||||
const pthread_condattr_t *);
|
||||
int (*ptr___pthread_cond_signal) (pthread_cond_t *);
|
||||
int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *);
|
||||
int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *,
|
||||
const struct timespec *);
|
||||
int (*ptr___pthread_cond_broadcast_2_0) (pthread_cond_2_0_t *);
|
||||
int (*ptr___pthread_cond_init_2_0) (pthread_cond_2_0_t *,
|
||||
const pthread_condattr_t *);
|
||||
int (*ptr___pthread_cond_signal_2_0) (pthread_cond_2_0_t *);
|
||||
int (*ptr___pthread_cond_wait_2_0) (pthread_cond_2_0_t *, pthread_mutex_t *);
|
||||
int (*ptr___pthread_cond_timedwait_2_0) (pthread_cond_2_0_t *,
|
||||
|
||||
Reference in New Issue
Block a user