diff options
| author | gfleury <gfleury@disroot.org> | 2024-11-26 22:53:27 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-09 02:03:18 +0100 |
| commit | ebd85cdc4ad93a7dfff17fcffaf84336fdd676ce (patch) | |
| tree | 7e39145f90a2c327ed533a2b1221f4361ff12584 /htl | |
| parent | 25699c4c3ab7617fc3506ee0a6123881c78812ea (diff) | |
| download | glibc-ebd85cdc4ad93a7dfff17fcffaf84336fdd676ce.tar.xz glibc-ebd85cdc4ad93a7dfff17fcffaf84336fdd676ce.zip | |
htl: move pthread_condattr_init into libc.
Signed-off-by: gfleury <gfleury@disroot.org>
Message-ID: <20241126205329.2215295-6-gfleury@disroot.org>
Diffstat (limited to 'htl')
| -rw-r--r-- | htl/Makefile | 2 | ||||
| -rw-r--r-- | htl/Versions | 3 | ||||
| -rw-r--r-- | htl/forward.c | 3 | ||||
| -rw-r--r-- | htl/pt-initialize.c | 1 |
4 files changed, 3 insertions, 6 deletions
diff --git a/htl/Makefile b/htl/Makefile index 60a28e0c59..e68cf2b533 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -92,7 +92,6 @@ libpthread-routines := \ pt-rwlock-timedrdlock \ pt-rwlock-timedwrlock \ pt-rwlock-unlock \ - pt-condattr-init \ pt-condattr-setclock \ pt-condattr-setpshared \ pt-cond-destroy \ @@ -206,6 +205,7 @@ routines := \ pt-condattr-destroy \ pt-condattr-getclock \ pt-condattr-getpshared \ + pt-condattr-init \ pt-getschedparam \ pt-nthreads \ pt-pthread_self \ diff --git a/htl/Versions b/htl/Versions index 331060141b..95c8a52184 100644 --- a/htl/Versions +++ b/htl/Versions @@ -27,6 +27,7 @@ libc { pthread_attr_setschedparam; pthread_attr_init; pthread_condattr_getclock; + pthread_condattr_init; pthread_condattr_destroy; pthread_condattr_getpshared; } @@ -87,6 +88,7 @@ libc { __pthread_attr_setstacksize; __pthread_attr_setstackaddr; __pthread_attr_setstack; + __pthread_condattr_init; __pthread_default_condattr; } } @@ -125,7 +127,6 @@ libpthread { pthread_cond_broadcast; pthread_cond_destroy; pthread_cond_init; pthread_cond_signal; pthread_cond_timedwait; pthread_cond_wait; - pthread_condattr_init; pthread_condattr_setclock; pthread_condattr_setpshared; pthread_create; pthread_detach; pthread_exit; diff --git a/htl/forward.c b/htl/forward.c index 3fe0a74d00..48825de0b0 100644 --- a/htl/forward.c +++ b/htl/forward.c @@ -53,9 +53,6 @@ name decl \ #define FORWARD(name, decl, params, defretval) \ FORWARD2 (name, int, decl, params, return defretval) -FORWARD (pthread_condattr_init, (pthread_condattr_t *attr), (attr), 0) - - FORWARD (pthread_cond_broadcast, (pthread_cond_t *cond), (cond), 0) FORWARD (pthread_cond_destroy, (pthread_cond_t *cond), (cond), 0) FORWARD (pthread_cond_init, diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index 632ee84773..ae721f3a13 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -27,7 +27,6 @@ #if IS_IN (libpthread) 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, |
