Bump the number of TLS slots to 128.

Bug: 9997352
Change-Id: I7bde7228d803e9d4bb83309c5891d54a07e3b025
This commit is contained in:
Elliott Hughes 2013-07-25 14:14:22 -07:00
parent a9feb5e33a
commit 838f01fdc7

View File

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