diff options
Diffstat (limited to 'implement.h')
-rw-r--r-- | implement.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/implement.h b/implement.h index b456ebf..5ba9260 100644 --- a/implement.h +++ b/implement.h @@ -319,6 +319,12 @@ struct pthread_rwlockattr_t_ }; +typedef struct { + pthread_cond_t cond; + pthread_mutex_t mtx; +} ptw32_once_control_t; + + struct ThreadKeyAssoc { /* @@ -472,6 +478,7 @@ extern CRITICAL_SECTION ptw32_cond_list_lock; extern CRITICAL_SECTION ptw32_cond_test_init_lock; extern CRITICAL_SECTION ptw32_rwlock_test_init_lock; extern CRITICAL_SECTION ptw32_spinlock_test_init_lock; +extern ptw32_once_control_t ptw32_once_control; #ifdef _UWIN extern int pthread_count; |