aboutsummaryrefslogtreecommitdiff
path: root/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 00:47:19 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-01-13 00:48:47 +0100
commite404be33feaa586231fe30e3bdf6d380a79c2679 (patch)
treeda7c0e750084fa2e22e6814636bf40772f3764c1 /htl
parente1195b207c057ccc61bd5e9334da5c2b361f8b2a (diff)
downloadglibc-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')
-rw-r--r--htl/pt-join.c3
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);