PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | pthread_mutex_t |
Macros | |
#define | PTHREAD_MUTEX_INITIALIZER { 0 } |
Typedefs | |
typedef ULONG | pthread_key_t |
typedef struct pthread_mutex_t | pthread_mutex_t |
typedef int | pthread_once_t |
Functions | |
DWORD | pthread_self (void) |
void | pthread_setspecific (pthread_key_t, void *) |
void * | pthread_getspecific (pthread_key_t) |
int | pthread_mutex_init (pthread_mutex_t *, void *attr) |
int | pthread_mutex_lock (pthread_mutex_t *) |
int | pthread_mutex_unlock (pthread_mutex_t *) |
#define PTHREAD_MUTEX_INITIALIZER { 0 } |
Definition at line 16 of file pthread-win32.h.
typedef ULONG pthread_key_t |
Definition at line 7 of file pthread-win32.h.
typedef struct pthread_mutex_t pthread_mutex_t |
typedef int pthread_once_t |
Definition at line 18 of file pthread-win32.h.
void* pthread_getspecific | ( | pthread_key_t | key | ) |
Definition at line 29 of file pthread-win32.c.
Referenced by ecpg_finish(), ecpg_get_connection(), ecpg_get_connection_nr(), ECPGget_sqlca(), get_auto_allocs(), and get_descriptors().
int pthread_mutex_init | ( | pthread_mutex_t * | mp, |
void * | attr | ||
) |
Definition at line 35 of file pthread-win32.c.
References pthread_mutex_t::initstate.
Referenced by pthread_barrier_init().
int pthread_mutex_lock | ( | pthread_mutex_t * | mp | ) |
Definition at line 42 of file pthread-win32.c.
References pthread_mutex_t::csection, and pthread_mutex_t::initstate.
Referenced by default_threadlock(), ecpg_get_connection(), ecpg_log(), ECPGconnect(), ECPGdebug(), ECPGdisconnect(), pgconn_bio_method(), and pthread_barrier_wait().
int pthread_mutex_unlock | ( | pthread_mutex_t * | mp | ) |
Definition at line 60 of file pthread-win32.c.
References pthread_mutex_t::csection, and pthread_mutex_t::initstate.
Referenced by default_threadlock(), ecpg_get_connection(), ecpg_log(), ECPGconnect(), ECPGdebug(), ECPGdisconnect(), pgconn_bio_method(), and pthread_barrier_wait().
DWORD pthread_self | ( | void | ) |
Definition at line 18 of file pthread-win32.c.
void pthread_setspecific | ( | pthread_key_t | key, |
void * | val | ||
) |
Definition at line 24 of file pthread-win32.c.
Referenced by ecpg_finish(), ECPGconnect(), ECPGget_sqlca(), ECPGsetconn(), set_auto_allocs(), and set_descriptors().