about summary refs log tree commit diff
path: root/sysdeps/htl/libc-lockP.h
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 /sysdeps/htl/libc-lockP.h
parente1195b207c057ccc61bd5e9334da5c2b361f8b2a (diff)
downloadglibc-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/libc-lockP.h')
-rw-r--r--sysdeps/htl/libc-lockP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/libc-lockP.h b/sysdeps/htl/libc-lockP.h
index 4b035021c9..4ba3930a13 100644
--- a/sysdeps/htl/libc-lockP.h
+++ b/sysdeps/htl/libc-lockP.h
@@ -112,6 +112,8 @@ extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
 extern int __pthread_key_create (pthread_key_t *__key,
 				 void (*__destr_function) (void *));
 
+extern int __pthread_key_delete (pthread_key_t __key);
+
 extern int __pthread_setspecific (pthread_key_t __key,
 				  const void *__pointer);