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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user