1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

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.
This commit is contained in:
Samuel Thibault
2020-01-13 00:47:19 +01:00
parent e1195b207c
commit e404be33fe
4 changed files with 7 additions and 2 deletions

View File

@@ -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);