From 838f01fdc7cbb8fa2449d5c799e24d92f25d3881 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 25 Jul 2013 14:14:22 -0700 Subject: [PATCH] Bump the number of TLS slots to 128. Bug: 9997352 Change-Id: I7bde7228d803e9d4bb83309c5891d54a07e3b025 --- libc/private/bionic_tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/private/bionic_tls.h b/libc/private/bionic_tls.h index 4fdf1873e..22b78061e 100644 --- a/libc/private/bionic_tls.h +++ b/libc/private/bionic_tls.h @@ -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);