summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'global.c')
-rw-r--r--global.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/global.c b/global.c
index 6d55581..9ce662f 100644
--- a/global.c
+++ b/global.c
@@ -57,3 +57,8 @@ pthread_t _pthread_win32handle_map[_PTHREAD_MAX_THREADS];
/* Per thread mutex locks. */
pthread_mutex_t _pthread_threads_mutex_table[_PTHREAD_MAX_THREADS];
+/* Global TSD key array. */
+_pthread_tsd_key_t _pthread_tsd_key_table[_POSIX_THREAD_KEYS_MAX];
+
+/* Index to the next available TSD key. */
+int _pthread_tsd_key_next = 0;