diff options
author | Elliott Hughes <enh@google.com> | 2013-02-14 18:59:37 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-02-15 12:08:59 -0800 |
commit | 40eabe24e4e3ae8ebe437f1f4e43cf39cbba2e9e (patch) | |
tree | 19eef7fcbba616a52bd37f4c83ece3e918b25445 /libc/private | |
parent | 3e3b239d2be0c5a92e91385f4f10b8f7da8d2837 (diff) | |
download | bionic-40eabe24e4e3ae8ebe437f1f4e43cf39cbba2e9e.zip bionic-40eabe24e4e3ae8ebe437f1f4e43cf39cbba2e9e.tar.gz bionic-40eabe24e4e3ae8ebe437f1f4e43cf39cbba2e9e.tar.bz2 |
Fix the pthread_setname_np test.
Fix the pthread_setname_np test to take into account that emulator kernels are
so old that they don't support setting the name of other threads.
The CLONE_DETACHED thread is obsolete since 2.5 kernels.
Rename kernel_id to tid.
Fix the signature of __pthread_clone.
Clean up the clone and pthread_setname_np implementations slightly.
Change-Id: I16c2ff8845b67530544bbda9aa6618058603066d
Diffstat (limited to 'libc/private')
-rw-r--r-- | libc/private/bionic_tls.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h index dfbb142..dd6b932 100644 --- a/libc/private/bionic_tls.h +++ b/libc/private/bionic_tls.h @@ -78,9 +78,6 @@ enum { #define GLOBAL_INIT_THREAD_LOCAL_BUFFER_COUNT 4 #define BIONIC_TLS_SLOTS 64 -/* set the Thread Local Storage, must contain at least BIONIC_TLS_SLOTS pointers */ -extern void __init_tls(void** tls, void* thread_info); - /* syscall only, do not call directly */ extern int __set_tls(void* ptr); |