PostgreSQL Source Code: src/port/pthread-win32.h Source File (original) (raw)
Go to the documentation of this file.
1/*
2 * src/port/pthread-win32.h
3 */
4#ifndef __PTHREAD_H
5#define __PTHREAD_H
6
8
10{
11 /* initstate = 0: not initialized; 1: init done; 2: init in progress */
15
16#define PTHREAD_MUTEX_INITIALIZER { 0 }
17
19
21
24
27
28/* blocking */
30
31#endif
int pthread_mutex_unlock(pthread_mutex_t *)
int pthread_mutex_init(pthread_mutex_t *, void *attr)
void * pthread_getspecific(pthread_key_t)
int pthread_mutex_lock(pthread_mutex_t *)
void pthread_setspecific(pthread_key_t, void *)
struct pthread_mutex_t pthread_mutex_t
CRITICAL_SECTION csection