mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
htl: move __pthread_default_barrierattr into libc.
Message-ID: <20250209200108.865599-2-gfleury@disroot.org>
This commit is contained in:
parent
bb6496b964
commit
7d799d85e8
@ -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 \
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -22,3 +22,4 @@
|
||||
const struct __pthread_barrierattr __pthread_default_barrierattr = {
|
||||
__pshared: PTHREAD_PROCESS_PRIVATE
|
||||
};
|
||||
libc_hidden_data_def (__pthread_default_barrierattr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user