mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
nptl: Move pthread_condattr_init implementation into libc
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:
@ -50,6 +50,7 @@ routines = \
|
||||
pthread_attr_setschedpolicy \
|
||||
pthread_attr_setscope \
|
||||
pthread_condattr_destroy \
|
||||
pthread_condattr_init \
|
||||
pthread_equal \
|
||||
pthread_self \
|
||||
register-atfork \
|
||||
@ -107,7 +108,6 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \
|
||||
old_pthread_cond_init old_pthread_cond_destroy \
|
||||
old_pthread_cond_wait old_pthread_cond_timedwait \
|
||||
old_pthread_cond_signal old_pthread_cond_broadcast \
|
||||
pthread_condattr_init \
|
||||
pthread_condattr_getpshared pthread_condattr_setpshared \
|
||||
pthread_condattr_getclock pthread_condattr_setclock \
|
||||
pthread_spin_init pthread_spin_destroy \
|
||||
|
@ -58,8 +58,6 @@ libpthread {
|
||||
pthread_cond_wait; pthread_cond_timedwait;
|
||||
pthread_cond_signal; pthread_cond_broadcast;
|
||||
|
||||
pthread_condattr_init;
|
||||
|
||||
pthread_cancel; pthread_testcancel;
|
||||
pthread_setcancelstate; pthread_setcanceltype;
|
||||
|
||||
|
@ -56,8 +56,6 @@ name decl \
|
||||
FORWARD2 (name, int, decl, params, return defretval)
|
||||
|
||||
|
||||
FORWARD (pthread_condattr_init, (pthread_condattr_t *attr), (attr), 0)
|
||||
|
||||
#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3_2)
|
||||
FORWARD2 (__pthread_cond_broadcast_2_0, int attribute_compat_text_section,
|
||||
(pthread_cond_2_0_t *cond), (cond), return 0)
|
||||
|
@ -72,7 +72,6 @@ void __nptl_set_robust (struct pthread *);
|
||||
#ifdef SHARED
|
||||
static const struct pthread_functions pthread_functions =
|
||||
{
|
||||
.ptr_pthread_condattr_init = __pthread_condattr_init,
|
||||
.ptr___pthread_cond_broadcast = __pthread_cond_broadcast,
|
||||
.ptr___pthread_cond_destroy = __pthread_cond_destroy,
|
||||
.ptr___pthread_cond_init = __pthread_cond_init,
|
||||
|
@ -30,7 +30,6 @@ struct xid_command;
|
||||
the thread functions. */
|
||||
struct pthread_functions
|
||||
{
|
||||
int (*ptr_pthread_condattr_init) (pthread_condattr_t *);
|
||||
int (*ptr___pthread_cond_broadcast) (pthread_cond_t *);
|
||||
int (*ptr___pthread_cond_destroy) (pthread_cond_t *);
|
||||
int (*ptr___pthread_cond_init) (pthread_cond_t *,
|
||||
|
@ -93,7 +93,6 @@ GLIBC_2.17 pthread_cond_timedwait F
|
||||
GLIBC_2.17 pthread_cond_wait F
|
||||
GLIBC_2.17 pthread_condattr_getclock F
|
||||
GLIBC_2.17 pthread_condattr_getpshared F
|
||||
GLIBC_2.17 pthread_condattr_init F
|
||||
GLIBC_2.17 pthread_condattr_setclock F
|
||||
GLIBC_2.17 pthread_condattr_setpshared F
|
||||
GLIBC_2.17 pthread_create F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -128,7 +128,6 @@ GLIBC_2.4 pthread_cond_timedwait F
|
||||
GLIBC_2.4 pthread_cond_wait F
|
||||
GLIBC_2.4 pthread_condattr_getclock F
|
||||
GLIBC_2.4 pthread_condattr_getpshared F
|
||||
GLIBC_2.4 pthread_condattr_init F
|
||||
GLIBC_2.4 pthread_condattr_setclock F
|
||||
GLIBC_2.4 pthread_condattr_setpshared F
|
||||
GLIBC_2.4 pthread_create F
|
||||
|
@ -128,7 +128,6 @@ GLIBC_2.4 pthread_cond_timedwait F
|
||||
GLIBC_2.4 pthread_cond_wait F
|
||||
GLIBC_2.4 pthread_condattr_getclock F
|
||||
GLIBC_2.4 pthread_condattr_getpshared F
|
||||
GLIBC_2.4 pthread_condattr_init F
|
||||
GLIBC_2.4 pthread_condattr_setclock F
|
||||
GLIBC_2.4 pthread_condattr_setpshared F
|
||||
GLIBC_2.4 pthread_create F
|
||||
|
@ -101,7 +101,6 @@ GLIBC_2.29 pthread_cond_timedwait F
|
||||
GLIBC_2.29 pthread_cond_wait F
|
||||
GLIBC_2.29 pthread_condattr_getclock F
|
||||
GLIBC_2.29 pthread_condattr_getpshared F
|
||||
GLIBC_2.29 pthread_condattr_init F
|
||||
GLIBC_2.29 pthread_condattr_setclock F
|
||||
GLIBC_2.29 pthread_condattr_setpshared F
|
||||
GLIBC_2.29 pthread_create F
|
||||
|
@ -92,7 +92,6 @@ GLIBC_2.2 pthread_cond_signal F
|
||||
GLIBC_2.2 pthread_cond_timedwait F
|
||||
GLIBC_2.2 pthread_cond_wait F
|
||||
GLIBC_2.2 pthread_condattr_getpshared F
|
||||
GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -92,7 +92,6 @@ GLIBC_2.2 pthread_cond_signal F
|
||||
GLIBC_2.2 pthread_cond_timedwait F
|
||||
GLIBC_2.2 pthread_cond_wait F
|
||||
GLIBC_2.2 pthread_condattr_getpshared F
|
||||
GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
|
@ -128,7 +128,6 @@ GLIBC_2.4 pthread_cond_timedwait F
|
||||
GLIBC_2.4 pthread_cond_wait F
|
||||
GLIBC_2.4 pthread_condattr_getclock F
|
||||
GLIBC_2.4 pthread_condattr_getpshared F
|
||||
GLIBC_2.4 pthread_condattr_init F
|
||||
GLIBC_2.4 pthread_condattr_setclock F
|
||||
GLIBC_2.4 pthread_condattr_setpshared F
|
||||
GLIBC_2.4 pthread_create F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -93,7 +93,6 @@ GLIBC_2.18 pthread_cond_timedwait F
|
||||
GLIBC_2.18 pthread_cond_wait F
|
||||
GLIBC_2.18 pthread_condattr_getclock F
|
||||
GLIBC_2.18 pthread_condattr_getpshared F
|
||||
GLIBC_2.18 pthread_condattr_init F
|
||||
GLIBC_2.18 pthread_condattr_setclock F
|
||||
GLIBC_2.18 pthread_condattr_setpshared F
|
||||
GLIBC_2.18 pthread_create F
|
||||
|
@ -93,7 +93,6 @@ GLIBC_2.18 pthread_cond_timedwait F
|
||||
GLIBC_2.18 pthread_cond_wait F
|
||||
GLIBC_2.18 pthread_condattr_getclock F
|
||||
GLIBC_2.18 pthread_condattr_getpshared F
|
||||
GLIBC_2.18 pthread_condattr_init F
|
||||
GLIBC_2.18 pthread_condattr_setclock F
|
||||
GLIBC_2.18 pthread_condattr_setpshared F
|
||||
GLIBC_2.18 pthread_create F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -93,7 +93,6 @@ GLIBC_2.21 pthread_cond_timedwait F
|
||||
GLIBC_2.21 pthread_cond_wait F
|
||||
GLIBC_2.21 pthread_condattr_getclock F
|
||||
GLIBC_2.21 pthread_condattr_getpshared F
|
||||
GLIBC_2.21 pthread_condattr_init F
|
||||
GLIBC_2.21 pthread_condattr_setclock F
|
||||
GLIBC_2.21 pthread_condattr_setpshared F
|
||||
GLIBC_2.21 pthread_create F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -112,7 +112,6 @@ GLIBC_2.3 pthread_cond_signal F
|
||||
GLIBC_2.3 pthread_cond_timedwait F
|
||||
GLIBC_2.3 pthread_cond_wait F
|
||||
GLIBC_2.3 pthread_condattr_getpshared F
|
||||
GLIBC_2.3 pthread_condattr_init F
|
||||
GLIBC_2.3 pthread_condattr_setpshared F
|
||||
GLIBC_2.3 pthread_create F
|
||||
GLIBC_2.3 pthread_detach F
|
||||
|
@ -93,7 +93,6 @@ GLIBC_2.17 pthread_cond_timedwait F
|
||||
GLIBC_2.17 pthread_cond_wait F
|
||||
GLIBC_2.17 pthread_condattr_getclock F
|
||||
GLIBC_2.17 pthread_condattr_getpshared F
|
||||
GLIBC_2.17 pthread_condattr_init F
|
||||
GLIBC_2.17 pthread_condattr_setclock F
|
||||
GLIBC_2.17 pthread_condattr_setpshared F
|
||||
GLIBC_2.17 pthread_create F
|
||||
|
@ -90,7 +90,6 @@ GLIBC_2.27 pthread_cond_timedwait F
|
||||
GLIBC_2.27 pthread_cond_wait F
|
||||
GLIBC_2.27 pthread_condattr_getclock F
|
||||
GLIBC_2.27 pthread_condattr_getpshared F
|
||||
GLIBC_2.27 pthread_condattr_init F
|
||||
GLIBC_2.27 pthread_condattr_setclock F
|
||||
GLIBC_2.27 pthread_condattr_setpshared F
|
||||
GLIBC_2.27 pthread_create F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -94,7 +94,6 @@ GLIBC_2.2 pthread_cond_signal F
|
||||
GLIBC_2.2 pthread_cond_timedwait F
|
||||
GLIBC_2.2 pthread_cond_wait F
|
||||
GLIBC_2.2 pthread_condattr_getpshared F
|
||||
GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
|
@ -92,7 +92,6 @@ GLIBC_2.2 pthread_cond_signal F
|
||||
GLIBC_2.2 pthread_cond_timedwait F
|
||||
GLIBC_2.2 pthread_cond_wait F
|
||||
GLIBC_2.2 pthread_condattr_getpshared F
|
||||
GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
|
@ -92,7 +92,6 @@ GLIBC_2.2 pthread_cond_signal F
|
||||
GLIBC_2.2 pthread_cond_timedwait F
|
||||
GLIBC_2.2 pthread_cond_wait F
|
||||
GLIBC_2.2 pthread_condattr_getpshared F
|
||||
GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
|
@ -51,7 +51,6 @@ GLIBC_2.0 pthread_cond_init F
|
||||
GLIBC_2.0 pthread_cond_signal F
|
||||
GLIBC_2.0 pthread_cond_timedwait F
|
||||
GLIBC_2.0 pthread_cond_wait F
|
||||
GLIBC_2.0 pthread_condattr_init F
|
||||
GLIBC_2.0 pthread_create F
|
||||
GLIBC_2.0 pthread_detach F
|
||||
GLIBC_2.0 pthread_exit F
|
||||
|
@ -92,7 +92,6 @@ GLIBC_2.2 pthread_cond_signal F
|
||||
GLIBC_2.2 pthread_cond_timedwait F
|
||||
GLIBC_2.2 pthread_cond_wait F
|
||||
GLIBC_2.2 pthread_condattr_getpshared F
|
||||
GLIBC_2.2 pthread_condattr_init F
|
||||
GLIBC_2.2 pthread_condattr_setpshared F
|
||||
GLIBC_2.2 pthread_create F
|
||||
GLIBC_2.2 pthread_detach F
|
||||
|
@ -92,7 +92,6 @@ GLIBC_2.2.5 pthread_cond_signal F
|
||||
GLIBC_2.2.5 pthread_cond_timedwait F
|
||||
GLIBC_2.2.5 pthread_cond_wait F
|
||||
GLIBC_2.2.5 pthread_condattr_getpshared F
|
||||
GLIBC_2.2.5 pthread_condattr_init F
|
||||
GLIBC_2.2.5 pthread_condattr_setpshared F
|
||||
GLIBC_2.2.5 pthread_create F
|
||||
GLIBC_2.2.5 pthread_detach F
|
||||
|
@ -93,7 +93,6 @@ GLIBC_2.16 pthread_cond_timedwait F
|
||||
GLIBC_2.16 pthread_cond_wait F
|
||||
GLIBC_2.16 pthread_condattr_getclock F
|
||||
GLIBC_2.16 pthread_condattr_getpshared F
|
||||
GLIBC_2.16 pthread_condattr_init F
|
||||
GLIBC_2.16 pthread_condattr_setclock F
|
||||
GLIBC_2.16 pthread_condattr_setpshared F
|
||||
GLIBC_2.16 pthread_create F
|
||||
|
Reference in New Issue
Block a user