summaryrefslogtreecommitdiff
path: root/global.c
diff options
context:
space:
mode:
Diffstat (limited to 'global.c')
-rw-r--r--global.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/global.c b/global.c
index f3f18cb..d2f8252 100644
--- a/global.c
+++ b/global.c
@@ -40,7 +40,8 @@
int ptw32_processInitialized = PTW32_FALSE;
-pthread_t ptw32_threadReuseTop = PTW32_THREAD_REUSE_BOTTOM;
+ptw32_thread_t * ptw32_threadReuseTop = PTW32_THREAD_REUSE_EMPTY;
+ptw32_thread_t * ptw32_threadReuseBottom = PTW32_THREAD_REUSE_EMPTY;
pthread_key_t ptw32_selfThreadKey = NULL;
pthread_key_t ptw32_cleanupKey = NULL;
pthread_cond_t ptw32_cond_list_head = NULL;