OSDN Git Service

Bump the number of TLS slots to 128.
authorElliott Hughes <enh@google.com>
Thu, 25 Jul 2013 21:14:22 +0000 (14:14 -0700)
committerElliott Hughes <enh@google.com>
Thu, 25 Jul 2013 21:14:22 +0000 (14:14 -0700)
Bug: 9997352
Change-Id: I7bde7228d803e9d4bb83309c5891d54a07e3b025

libc/private/bionic_tls.h

index 4fdf187..22b7806 100644 (file)
@@ -76,7 +76,7 @@ enum {
  * maintain that second number, but pthread_test will fail if we forget.
  */
 #define GLOBAL_INIT_THREAD_LOCAL_BUFFER_COUNT 4
-#define BIONIC_TLS_SLOTS 64
+#define BIONIC_TLS_SLOTS 128
 
 /* syscall only, do not call directly */
 extern int __set_tls(void* ptr);