projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git]
/
src
/
thread
/
pthread_key_create.c
diff --git
a/src/thread/pthread_key_create.c
b/src/thread/pthread_key_create.c
index c703bfe36141ca9d51003849376c1784fb167bd5..8d7f81625bbddce6dbcd2f7d97081de34bc02b37 100644
(file)
--- a/
src/thread/pthread_key_create.c
+++ b/
src/thread/pthread_key_create.c
@@
-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)
{