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 /sysdeps/htl/pthreadP.h | |
parent | e1195b207c057ccc61bd5e9334da5c2b361f8b2a (diff) | |
download | glibc-e404be33feaa586231fe30e3bdf6d380a79c2679.tar.gz glibc-e404be33feaa586231fe30e3bdf6d380a79c2679.tar.xz glibc-e404be33feaa586231fe30e3bdf6d380a79c2679.zip |
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 'sysdeps/htl/pthreadP.h')
-rw-r--r-- | sysdeps/htl/pthreadP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/htl/pthreadP.h b/sysdeps/htl/pthreadP.h index 47fd3af87a..30e074c1d0 100644 --- a/sysdeps/htl/pthreadP.h +++ b/sysdeps/htl/pthreadP.h @@ -45,6 +45,7 @@ int __pthread_create (pthread_t *newthread, void __cthread_detach (__cthread_t); int __pthread_detach (pthread_t __threadp); void __pthread_exit (void *value) __attribute__ ((__noreturn__)); +int __pthread_join (pthread_t, void **); int __cthread_keycreate (__cthread_key_t *); int __cthread_getspecific (__cthread_key_t, void **); int __cthread_setspecific (__cthread_key_t, void *); |