diff options
| author | gfleury <gfleury@disroot.org> | 2025-02-16 16:54:30 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-16 23:08:54 +0100 |
| commit | 119798a7b1670065c9ccdc3e49440f1034961524 (patch) | |
| tree | f3021eaf2926a447da333746c33988191a4ccf38 /htl | |
| parent | 18accc19b994a1123125df6e89a6b3e83422eb96 (diff) | |
| download | glibc-119798a7b1670065c9ccdc3e49440f1034961524.tar.xz glibc-119798a7b1670065c9ccdc3e49440f1034961524.zip | |
htl: move pthread_rwlock_unlock into libc.
Signed-off-by: gfleury <gfleury@disroot.org>
Message-ID: <20250216145434.7089-7-gfleury@disroot.org>
Diffstat (limited to 'htl')
| -rw-r--r-- | htl/Makefile | 2 | ||||
| -rw-r--r-- | htl/Versions | 4 | ||||
| -rw-r--r-- | htl/pt-initialize.c | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/htl/Makefile b/htl/Makefile index 0c85ab462c..d5ab98c840 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -51,7 +51,6 @@ libpthread-routines := \ pt-rwlock-wrlock \ pt-rwlock-timedrdlock \ pt-rwlock-timedwrlock \ - pt-rwlock-unlock \ pt-hurd-cond-wait \ pt-hurd-cond-timedwait \ pt-stack-alloc \ @@ -197,6 +196,7 @@ routines := \ pt-rwlock-attr \ pt-rwlock-tryrdlock \ pt-rwlock-trywrlock \ + pt-rwlock-unlock \ pt-rwlockattr-destroy \ pt-rwlockattr-getpshared \ pt-rwlockattr-init \ diff --git a/htl/Versions b/htl/Versions index ca59cd5c99..9669fe9dbc 100644 --- a/htl/Versions +++ b/htl/Versions @@ -65,6 +65,7 @@ libc { pthread_mutexattr_settype; pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock; + pthread_rwlock_unlock; pthread_rwlockattr_destroy; pthread_rwlockattr_getpshared; pthread_rwlockattr_init; @@ -150,6 +151,7 @@ libc { pthread_mutex_trylock; pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock; + pthread_rwlock_unlock; pthread_rwlockattr_destroy; pthread_rwlockattr_getpshared; pthread_rwlockattr_init; @@ -251,7 +253,7 @@ libpthread { pthread_rwlock_destroy; pthread_rwlock_init; pthread_rwlock_rdlock; pthread_rwlock_timedrdlock; pthread_rwlock_timedwrlock; - pthread_rwlock_unlock; pthread_rwlock_wrlock; + pthread_rwlock_wrlock; pthread_setconcurrency; pthread_setschedprio; pthread_setspecific; diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index 53b9c76e8f..14172099d4 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -32,7 +32,6 @@ static const struct pthread_functions pthread_functions = { .ptr_pthread_once = __pthread_once, .ptr_pthread_rwlock_rdlock = __pthread_rwlock_rdlock, .ptr_pthread_rwlock_wrlock = __pthread_rwlock_wrlock, - .ptr_pthread_rwlock_unlock = __pthread_rwlock_unlock, .ptr___pthread_key_create = __pthread_key_create, .ptr___pthread_getspecific = __pthread_getspecific, .ptr___pthread_setspecific = __pthread_setspecific, |
