use bss instead of mmap for main thread's pthread thread-specific data

this simplifies code and removes a failure case
This commit is contained in:
Rich Felker committed 2011-04-01 22:07:59 -04:00
1 parent 5243e5f160
commit 6c16d3e98a
2 files changed
+4 -9

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
#include "pthread_impl.h"
const size_t __pthread_tsd_size = sizeof(void *) * PTHREAD_KEYS_MAX;
void *__pthread_tsd_main[PTHREAD_KEYS_MAX] = { 0 };
static void nodtor(void *dummy)
{