From d5c78e3656cbc7410f333bfa80e2929947e6d0e5 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 8 Mar 2005 07:36:56 +0000 Subject: compiler compatibility and bug fixes --- implement.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'implement.h') 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; -- cgit v1.2.3