mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
htl: move pthread_rwlockattr_destroy into libc.
Signed-off-by: gfleury <gfleury@disroot.org> Message-ID: <20250216145434.7089-4-gfleury@disroot.org>
This commit is contained in:
parent
e618b671cd
commit
cd2d31ed58
8 changed files with 18 additions and 5 deletions
|
@ -45,7 +45,6 @@ libpthread-routines := \
|
||||||
pt-testcancel \
|
pt-testcancel \
|
||||||
pt-cancel \
|
pt-cancel \
|
||||||
pt-mutex-transfer-np \
|
pt-mutex-transfer-np \
|
||||||
pt-rwlockattr-destroy \
|
|
||||||
pt-rwlockattr-getpshared \
|
pt-rwlockattr-getpshared \
|
||||||
pt-rwlockattr-setpshared \
|
pt-rwlockattr-setpshared \
|
||||||
pt-rwlock-init \
|
pt-rwlock-init \
|
||||||
|
@ -200,6 +199,7 @@ routines := \
|
||||||
pt-nthreads \
|
pt-nthreads \
|
||||||
pt-pthread_self \
|
pt-pthread_self \
|
||||||
pt-rwlock-attr \
|
pt-rwlock-attr \
|
||||||
|
pt-rwlockattr-destroy \
|
||||||
pt-rwlockattr-init \
|
pt-rwlockattr-init \
|
||||||
pt-self pt-equal \
|
pt-self pt-equal \
|
||||||
pt-setcancelstate \
|
pt-setcancelstate \
|
||||||
|
|
|
@ -63,6 +63,7 @@ libc {
|
||||||
pthread_mutexattr_setprotocol;
|
pthread_mutexattr_setprotocol;
|
||||||
pthread_mutexattr_setpshared;
|
pthread_mutexattr_setpshared;
|
||||||
pthread_mutexattr_settype;
|
pthread_mutexattr_settype;
|
||||||
|
pthread_rwlockattr_destroy;
|
||||||
pthread_rwlockattr_init;
|
pthread_rwlockattr_init;
|
||||||
pthread_setcancelstate;
|
pthread_setcancelstate;
|
||||||
pthread_setcanceltype;
|
pthread_setcanceltype;
|
||||||
|
@ -143,6 +144,7 @@ libc {
|
||||||
pthread_mutex_getprioceiling;
|
pthread_mutex_getprioceiling;
|
||||||
pthread_mutex_setprioceiling;
|
pthread_mutex_setprioceiling;
|
||||||
pthread_mutex_trylock;
|
pthread_mutex_trylock;
|
||||||
|
pthread_rwlockattr_destroy;
|
||||||
pthread_rwlockattr_init;
|
pthread_rwlockattr_init;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -244,7 +246,7 @@ libpthread {
|
||||||
pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
|
pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock;
|
||||||
pthread_rwlock_unlock; pthread_rwlock_wrlock;
|
pthread_rwlock_unlock; pthread_rwlock_wrlock;
|
||||||
|
|
||||||
pthread_rwlockattr_destroy; pthread_rwlockattr_getpshared;
|
pthread_rwlockattr_getpshared;
|
||||||
pthread_rwlockattr_setpshared;
|
pthread_rwlockattr_setpshared;
|
||||||
|
|
||||||
pthread_setconcurrency;
|
pthread_setconcurrency;
|
||||||
|
|
|
@ -18,9 +18,16 @@
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <pt-internal.h>
|
#include <pt-internal.h>
|
||||||
|
#include <shlib-compat.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
pthread_rwlockattr_destroy (pthread_rwlockattr_t *attr)
|
__pthread_rwlockattr_destroy (pthread_rwlockattr_t *attr)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
libc_hidden_def (__pthread_rwlockattr_destroy)
|
||||||
|
versioned_symbol (libc, __pthread_rwlockattr_destroy, pthread_rwlockattr_destroy, GLIBC_2_42);
|
||||||
|
|
||||||
|
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_42)
|
||||||
|
compat_symbol (libpthread, __pthread_rwlockattr_destroy, pthread_rwlockattr_destroy, GLIBC_2_12);
|
||||||
|
#endif
|
||||||
|
|
|
@ -114,6 +114,8 @@ libc_hidden_proto (__pthread_mutexattr_gettype)
|
||||||
extern int __pthread_mutexattr_settype(pthread_mutexattr_t *__attr,
|
extern int __pthread_mutexattr_settype(pthread_mutexattr_t *__attr,
|
||||||
int __type);
|
int __type);
|
||||||
libc_hidden_proto (__pthread_mutexattr_settype)
|
libc_hidden_proto (__pthread_mutexattr_settype)
|
||||||
|
extern int __pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr);
|
||||||
|
libc_hidden_proto (__pthread_rwlockattr_destroy)
|
||||||
extern int __pthread_rwlockattr_init (pthread_rwlockattr_t *__attr);
|
extern int __pthread_rwlockattr_init (pthread_rwlockattr_t *__attr);
|
||||||
libc_hidden_proto (__pthread_rwlockattr_init)
|
libc_hidden_proto (__pthread_rwlockattr_init)
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ GLIBC_2.12 pthread_mutexattr_setprioceiling F
|
||||||
GLIBC_2.12 pthread_mutexattr_setprotocol F
|
GLIBC_2.12 pthread_mutexattr_setprotocol F
|
||||||
GLIBC_2.12 pthread_mutexattr_setpshared F
|
GLIBC_2.12 pthread_mutexattr_setpshared F
|
||||||
GLIBC_2.12 pthread_mutexattr_settype F
|
GLIBC_2.12 pthread_mutexattr_settype F
|
||||||
|
GLIBC_2.12 pthread_rwlockattr_destroy F
|
||||||
GLIBC_2.12 pthread_rwlockattr_init F
|
GLIBC_2.12 pthread_rwlockattr_init F
|
||||||
GLIBC_2.12 pthread_self F
|
GLIBC_2.12 pthread_self F
|
||||||
GLIBC_2.12 pthread_setcancelstate F
|
GLIBC_2.12 pthread_setcancelstate F
|
||||||
|
@ -2581,6 +2582,7 @@ GLIBC_2.42 pthread_mutex_consistent_np F
|
||||||
GLIBC_2.42 pthread_mutex_getprioceiling F
|
GLIBC_2.42 pthread_mutex_getprioceiling F
|
||||||
GLIBC_2.42 pthread_mutex_setprioceiling F
|
GLIBC_2.42 pthread_mutex_setprioceiling F
|
||||||
GLIBC_2.42 pthread_mutex_trylock F
|
GLIBC_2.42 pthread_mutex_trylock F
|
||||||
|
GLIBC_2.42 pthread_rwlockattr_destroy F
|
||||||
GLIBC_2.42 pthread_rwlockattr_init F
|
GLIBC_2.42 pthread_rwlockattr_init F
|
||||||
GLIBC_2.5 __readlinkat_chk F
|
GLIBC_2.5 __readlinkat_chk F
|
||||||
GLIBC_2.5 inet6_opt_append F
|
GLIBC_2.5 inet6_opt_append F
|
||||||
|
|
|
@ -45,7 +45,6 @@ GLIBC_2.12 pthread_rwlock_tryrdlock F
|
||||||
GLIBC_2.12 pthread_rwlock_trywrlock F
|
GLIBC_2.12 pthread_rwlock_trywrlock F
|
||||||
GLIBC_2.12 pthread_rwlock_unlock F
|
GLIBC_2.12 pthread_rwlock_unlock F
|
||||||
GLIBC_2.12 pthread_rwlock_wrlock F
|
GLIBC_2.12 pthread_rwlock_wrlock F
|
||||||
GLIBC_2.12 pthread_rwlockattr_destroy F
|
|
||||||
GLIBC_2.12 pthread_rwlockattr_getpshared F
|
GLIBC_2.12 pthread_rwlockattr_getpshared F
|
||||||
GLIBC_2.12 pthread_rwlockattr_setpshared F
|
GLIBC_2.12 pthread_rwlockattr_setpshared F
|
||||||
GLIBC_2.12 pthread_setconcurrency F
|
GLIBC_2.12 pthread_setconcurrency F
|
||||||
|
|
|
@ -1579,6 +1579,7 @@ GLIBC_2.38 pthread_mutexattr_setpshared F
|
||||||
GLIBC_2.38 pthread_mutexattr_setrobust F
|
GLIBC_2.38 pthread_mutexattr_setrobust F
|
||||||
GLIBC_2.38 pthread_mutexattr_setrobust_np F
|
GLIBC_2.38 pthread_mutexattr_setrobust_np F
|
||||||
GLIBC_2.38 pthread_mutexattr_settype F
|
GLIBC_2.38 pthread_mutexattr_settype F
|
||||||
|
GLIBC_2.38 pthread_rwlockattr_destroy F
|
||||||
GLIBC_2.38 pthread_rwlockattr_init F
|
GLIBC_2.38 pthread_rwlockattr_init F
|
||||||
GLIBC_2.38 pthread_self F
|
GLIBC_2.38 pthread_self F
|
||||||
GLIBC_2.38 pthread_setcancelstate F
|
GLIBC_2.38 pthread_setcancelstate F
|
||||||
|
@ -2264,6 +2265,7 @@ GLIBC_2.42 pthread_mutex_consistent_np F
|
||||||
GLIBC_2.42 pthread_mutex_getprioceiling F
|
GLIBC_2.42 pthread_mutex_getprioceiling F
|
||||||
GLIBC_2.42 pthread_mutex_setprioceiling F
|
GLIBC_2.42 pthread_mutex_setprioceiling F
|
||||||
GLIBC_2.42 pthread_mutex_trylock F
|
GLIBC_2.42 pthread_mutex_trylock F
|
||||||
|
GLIBC_2.42 pthread_rwlockattr_destroy F
|
||||||
GLIBC_2.42 pthread_rwlockattr_init F
|
GLIBC_2.42 pthread_rwlockattr_init F
|
||||||
HURD_CTHREADS_0.3 __cthread_getspecific F
|
HURD_CTHREADS_0.3 __cthread_getspecific F
|
||||||
HURD_CTHREADS_0.3 __cthread_keycreate F
|
HURD_CTHREADS_0.3 __cthread_keycreate F
|
||||||
|
|
|
@ -67,7 +67,6 @@ GLIBC_2.38 pthread_rwlock_tryrdlock F
|
||||||
GLIBC_2.38 pthread_rwlock_trywrlock F
|
GLIBC_2.38 pthread_rwlock_trywrlock F
|
||||||
GLIBC_2.38 pthread_rwlock_unlock F
|
GLIBC_2.38 pthread_rwlock_unlock F
|
||||||
GLIBC_2.38 pthread_rwlock_wrlock F
|
GLIBC_2.38 pthread_rwlock_wrlock F
|
||||||
GLIBC_2.38 pthread_rwlockattr_destroy F
|
|
||||||
GLIBC_2.38 pthread_rwlockattr_getpshared F
|
GLIBC_2.38 pthread_rwlockattr_getpshared F
|
||||||
GLIBC_2.38 pthread_rwlockattr_setpshared F
|
GLIBC_2.38 pthread_rwlockattr_setpshared F
|
||||||
GLIBC_2.38 pthread_setconcurrency F
|
GLIBC_2.38 pthread_setconcurrency F
|
||||||
|
|
Loading…
Add table
Reference in a new issue