diff options
author | rpj <rpj> | 2002-02-18 03:16:52 +0000 |
---|---|---|
committer | rpj <rpj> | 2002-02-18 03:16:52 +0000 |
commit | a416ab17ecf9f2cb0f1e3f7bd645a8d1ce690ca2 (patch) | |
tree | 72f776cd64e48824a5578ff7a523bc69097143b4 /global.c | |
parent | e6f1797e9e9925ae7f9dda54806ef8f52ae3ed07 (diff) |
Major reorganisation of source code; new routine and tests added.
Diffstat (limited to 'global.c')
-rw-r--r-- | global.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -42,6 +42,8 @@ int ptw32_processInitialized = FALSE; pthread_key_t ptw32_selfThreadKey = NULL; pthread_key_t ptw32_cleanupKey = NULL; +pthread_cond_t ptw32_cond_list_head = NULL; +pthread_cond_t ptw32_cond_list_tail = NULL; int ptw32_concurrency = 0; @@ -77,6 +79,13 @@ CRITICAL_SECTION ptw32_rwlock_test_init_lock; */ CRITICAL_SECTION ptw32_spinlock_test_init_lock; +/* + * Global lock for condition variable linked list. The list exists + * to wake up CVs when a WM_TIMECHANGE message arrives. See + * w32_TimeChangeHandler.c. + */ +CRITICAL_SECTION ptw32_cond_list_lock; + #ifdef _UWIN /* * Keep a count of the number of threads. |