diff options
| author | gfleury <gfleury@disroot.org> | 2025-02-09 22:01:01 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-10 01:17:50 +0100 |
| commit | 7d799d85e82f58cff0dea0363d0b056a85ef5c44 (patch) | |
| tree | befcae0859cd340a1b56b5ac789aaad049572848 | |
| parent | bb6496b96444dfd55d7105396780f6eba14b1cd9 (diff) | |
| download | glibc-7d799d85e82f58cff0dea0363d0b056a85ef5c44.tar.xz glibc-7d799d85e82f58cff0dea0363d0b056a85ef5c44.zip | |
htl: move __pthread_default_barrierattr into libc.
Message-ID: <20250209200108.865599-2-gfleury@disroot.org>
| -rw-r--r-- | htl/Makefile | 2 | ||||
| -rw-r--r-- | htl/Versions | 1 | ||||
| -rw-r--r-- | htl/pt-internal.h | 1 | ||||
| -rw-r--r-- | sysdeps/htl/pt-barrier.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/htl/Makefile b/htl/Makefile index a4192a56b4..6404cba9b5 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -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 \ diff --git a/htl/Versions b/htl/Versions index d8f1c7f437..5aff085806 100644 --- a/htl/Versions +++ b/htl/Versions @@ -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; diff --git a/htl/pt-internal.h b/htl/pt-internal.h index d19579b33b..506eaec50c 100644 --- a/htl/pt-internal.h +++ b/htl/pt-internal.h @@ -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; diff --git a/sysdeps/htl/pt-barrier.c b/sysdeps/htl/pt-barrier.c index 859c0848b6..e620a13feb 100644 --- a/sysdeps/htl/pt-barrier.c +++ b/sysdeps/htl/pt-barrier.c @@ -22,3 +22,4 @@ const struct __pthread_barrierattr __pthread_default_barrierattr = { __pshared: PTHREAD_PROCESS_PRIVATE }; +libc_hidden_data_def (__pthread_default_barrierattr) |
