PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pthread-win32.h
Go to the documentation of this file.
1 /*
2  * src/port/pthread-win32.h
3  */
4 #ifndef __PTHREAD_H
5 #define __PTHREAD_H
6 
7 typedef ULONG pthread_key_t;
8 typedef CRITICAL_SECTION *pthread_mutex_t;
9 typedef int pthread_once_t;
10 
11 DWORD pthread_self(void);
12 
15 
16 int pthread_mutex_init(pthread_mutex_t *, void *attr);
18 
19 /* blocking */
21 
22 #endif
int pthread_mutex_unlock(pthread_mutex_t *)
Definition: pthread-win32.c:55
CRITICAL_SECTION * pthread_mutex_t
Definition: pthread-win32.h:8
void pthread_setspecific(pthread_key_t, void *)
Definition: pthread-win32.c:25
ULONG pthread_key_t
Definition: pthread-win32.h:7
int pthread_once_t
Definition: pthread-win32.h:9
void * pthread_getspecific(pthread_key_t)
Definition: pthread-win32.c:30
int pthread_mutex_lock(pthread_mutex_t *)
Definition: pthread-win32.c:46
int pthread_mutex_init(pthread_mutex_t *, void *attr)
Definition: pthread-win32.c:36
DWORD pthread_self(void)
Definition: pthread-win32.c:19