From e404be33feaa586231fe30e3bdf6d380a79c2679 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Jan 2020 00:47:19 +0100 Subject: 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. --- htl/pt-join.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'htl') 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); -- cgit v1.1