mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-12 19:04:54 +03:00
htl: move __pthread_default_rwlockattr into libc.
Signed-off-by: gfleury <gfleury@disroot.org> Message-ID: <20250216145434.7089-2-gfleury@disroot.org>
This commit is contained in:
@@ -45,7 +45,6 @@ libpthread-routines := \
|
|||||||
pt-testcancel \
|
pt-testcancel \
|
||||||
pt-cancel \
|
pt-cancel \
|
||||||
pt-mutex-transfer-np \
|
pt-mutex-transfer-np \
|
||||||
pt-rwlock-attr \
|
|
||||||
pt-rwlockattr-init \
|
pt-rwlockattr-init \
|
||||||
pt-rwlockattr-destroy \
|
pt-rwlockattr-destroy \
|
||||||
pt-rwlockattr-getpshared \
|
pt-rwlockattr-getpshared \
|
||||||
@@ -201,6 +200,7 @@ routines := \
|
|||||||
pt-mutexattr-settype \
|
pt-mutexattr-settype \
|
||||||
pt-nthreads \
|
pt-nthreads \
|
||||||
pt-pthread_self \
|
pt-pthread_self \
|
||||||
|
pt-rwlock-attr \
|
||||||
pt-self pt-equal \
|
pt-self pt-equal \
|
||||||
pt-setcancelstate \
|
pt-setcancelstate \
|
||||||
pt-setcanceltype \
|
pt-setcanceltype \
|
||||||
|
@@ -171,6 +171,7 @@ libc {
|
|||||||
__pthread_cond_wait;
|
__pthread_cond_wait;
|
||||||
__pthread_condattr_init;
|
__pthread_condattr_init;
|
||||||
__pthread_default_condattr;
|
__pthread_default_condattr;
|
||||||
|
__pthread_default_rwlockattr;
|
||||||
__pthread_mutex_checklocked;
|
__pthread_mutex_checklocked;
|
||||||
__pthread_mutex_destroy;
|
__pthread_mutex_destroy;
|
||||||
__pthread_mutex_init;
|
__pthread_mutex_init;
|
||||||
|
@@ -331,6 +331,7 @@ extern const struct __pthread_barrierattr __pthread_default_barrierattr;
|
|||||||
|
|
||||||
/* Default rdlock attributes. */
|
/* Default rdlock attributes. */
|
||||||
extern const struct __pthread_rwlockattr __pthread_default_rwlockattr;
|
extern const struct __pthread_rwlockattr __pthread_default_rwlockattr;
|
||||||
|
libc_hidden_proto (__pthread_default_rwlockattr)
|
||||||
|
|
||||||
/* Default condition attributes. */
|
/* Default condition attributes. */
|
||||||
extern const struct __pthread_condattr __pthread_default_condattr;
|
extern const struct __pthread_condattr __pthread_default_condattr;
|
||||||
|
@@ -22,3 +22,4 @@
|
|||||||
const struct __pthread_rwlockattr __pthread_default_rwlockattr = {
|
const struct __pthread_rwlockattr __pthread_default_rwlockattr = {
|
||||||
__pshared: PTHREAD_PROCESS_PRIVATE
|
__pshared: PTHREAD_PROCESS_PRIVATE
|
||||||
};
|
};
|
||||||
|
libc_hidden_data_def (__pthread_default_rwlockattr)
|
||||||
|
Reference in New Issue
Block a user