diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 00:47:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-01-13 00:48:47 +0100 |
commit | e404be33feaa586231fe30e3bdf6d380a79c2679 (patch) | |
tree | da7c0e750084fa2e22e6814636bf40772f3764c1 /htl/pt-join.c | |
parent | e1195b207c057ccc61bd5e9334da5c2b361f8b2a (diff) | |
download | glibc-e404be33feaa586231fe30e3bdf6d380a79c2679.zip glibc-e404be33feaa586231fe30e3bdf6d380a79c2679.tar.gz glibc-e404be33feaa586231fe30e3bdf6d380a79c2679.tar.bz2 |
htl: Add internal versions of functions used by C11 threads
The C11 threads implementation needs to call pthread_join and
pthread_key_delete without exposing them.
Diffstat (limited to 'htl/pt-join.c')
-rw-r--r-- | htl/pt-join.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/htl/pt-join.c b/htl/pt-join.c index 158c328..b141c4c 100644 --- a/htl/pt-join.c +++ b/htl/pt-join.c @@ -27,7 +27,7 @@ /* Make calling thread wait for termination of thread THREAD. Return the exit status of the thread in *STATUS. */ int -pthread_join (pthread_t thread, void **status) +__pthread_join (pthread_t thread, void **status) { struct __pthread *pthread; int err = 0; @@ -75,3 +75,4 @@ pthread_join (pthread_t thread, void **status) return err; } +strong_alias (__pthread_join, pthread_join); |