2 * src/port/pthread-win32.h
7 typedef ULONG pthread_key_t
;
8 typedef CRITICAL_SECTION
*pthread_mutex_t
;
9 typedef int pthread_once_t
;
11 DWORD
pthread_self(void);
13 void pthread_setspecific(pthread_key_t
, void *);
14 void *pthread_getspecific(pthread_key_t
);
16 int pthread_mutex_init(pthread_mutex_t
*, void *attr
);
17 int pthread_mutex_lock(pthread_mutex_t
*);
20 int pthread_mutex_unlock(pthread_mutex_t
*);