htl: move __pthread_default_barrierattr into libc.

Message-ID: <20250209200108.865599-2-gfleury@disroot.org>
This commit is contained in:
gfleury 2025-02-09 22:01:01 +02:00 committed by Samuel Thibault
parent bb6496b964
commit 7d799d85e8
4 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,6 @@ libpthread-routines := \
pt-barrier-destroy \
pt-barrier-init \
pt-barrier-wait \
pt-barrier \
pt-barrierattr-destroy \
pt-barrierattr-init \
pt-barrierattr-getpshared \
@ -161,6 +160,7 @@ routines := \
pt-attr-setstack \
pt-attr-setstackaddr \
pt-attr-setstacksize \
pt-barrier \
pt-block \
pt-block-intr \
pt-cond \

View File

@ -147,6 +147,7 @@ libc {
__pthread_attr_setstacksize;
__pthread_attr_setstackaddr;
__pthread_attr_setstack;
__pthread_default_barrierattr;
__pthread_setcancelstate;
__pthread_cond_broadcast;
__pthread_cond_destroy;

View File

@ -328,6 +328,7 @@ libc_hidden_proto (__pthread_default_attr)
/* Default barrier attributes. */
extern const struct __pthread_barrierattr __pthread_default_barrierattr;
libc_hidden_proto (__pthread_default_barrierattr)
/* Default rdlock attributes. */
extern const struct __pthread_rwlockattr __pthread_default_rwlockattr;

View File

@ -22,3 +22,4 @@
const struct __pthread_barrierattr __pthread_default_barrierattr = {
__pshared: PTHREAD_PROCESS_PRIVATE
};
libc_hidden_data_def (__pthread_default_barrierattr)