mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
nptl: Move core condition variable functions into libc
Onl pthread_cond_clockwait did not have a forwarder, so it needs a new symbol version. Some complications arise due to the need to supply hidden aliases, GLIBC_PRIVATE exports (for the C11 condition variable implementation that still remains in libpthread) and 64-bit time_t stubs. pthread_cond_broadcast, pthread_cond_signal, pthread_cond_timedwait, pthread_cond_wait, pthread_cond_clockwait have been moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -52,16 +52,6 @@ static const char nptl_version[] __attribute_used__ = VERSION;
|
||||
#ifdef SHARED
|
||||
static const struct pthread_functions pthread_functions =
|
||||
{
|
||||
.ptr___pthread_cond_broadcast = __pthread_cond_broadcast,
|
||||
.ptr___pthread_cond_signal = __pthread_cond_signal,
|
||||
.ptr___pthread_cond_wait = __pthread_cond_wait,
|
||||
.ptr___pthread_cond_timedwait = __pthread_cond_timedwait,
|
||||
# if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_3_2)
|
||||
.ptr___pthread_cond_broadcast_2_0 = __pthread_cond_broadcast_2_0,
|
||||
.ptr___pthread_cond_signal_2_0 = __pthread_cond_signal_2_0,
|
||||
.ptr___pthread_cond_wait_2_0 = __pthread_cond_wait_2_0,
|
||||
.ptr___pthread_cond_timedwait_2_0 = __pthread_cond_timedwait_2_0,
|
||||
# endif
|
||||
.ptr__nptl_setxid = __nptl_setxid,
|
||||
};
|
||||
# define ptr_pthread_functions &pthread_functions
|
||||
|
Reference in New Issue
Block a user