PostgreSQL Source Code
git master
|
#include <pthread.h>
Go to the source code of this file.
Data Structures | |
struct | pg_pthread_barrier |
Macros | |
#define | PTHREAD_BARRIER_SERIAL_THREAD (-1) |
Typedefs | |
typedef struct pg_pthread_barrier | pthread_barrier_t |
Functions | |
int | pthread_barrier_init (pthread_barrier_t *barrier, const void *attr, int count) |
int | pthread_barrier_wait (pthread_barrier_t *barrier) |
int | pthread_barrier_destroy (pthread_barrier_t *barrier) |
#define PTHREAD_BARRIER_SERIAL_THREAD (-1) |
Definition at line 21 of file pg_pthread.h.
typedef struct pg_pthread_barrier pthread_barrier_t |
int pthread_barrier_destroy | ( | pthread_barrier_t * | barrier | ) |
int pthread_barrier_init | ( | pthread_barrier_t * | barrier, |
const void * | attr, | ||
int | count | ||
) |
Definition at line 19 of file pthread_barrier_wait.c.
References barrier, error(), and pthread_mutex_init().
int pthread_barrier_wait | ( | pthread_barrier_t * | barrier | ) |
Definition at line 38 of file pthread_barrier_wait.c.
References Assert, barrier, PTHREAD_BARRIER_SERIAL_THREAD, pthread_mutex_lock(), and pthread_mutex_unlock().