Stxxl
1.4.0
|
#include <semaphore.h>
Public Member Functions | |
semaphore (int init_value=1) | |
~semaphore () | |
int | operator++ (int) |
int | operator-- (int) |
int | decrement () |
Private Attributes | |
int | v |
pthread_mutex_t | mutex |
pthread_cond_t | cond |
Definition at line 29 of file semaphore.h.
stxxl::semaphore::semaphore | ( | int | init_value = 1 | ) | [inline] |
Definition at line 41 of file semaphore.h.
References check_pthread_call.
stxxl::semaphore::~semaphore | ( | ) | [inline] |
Definition at line 48 of file semaphore.h.
References check_pthread_call, and stxxl_function_error.
int stxxl::semaphore::decrement | ( | ) | [inline] |
Definition at line 103 of file semaphore.h.
References check_pthread_call.
int stxxl::semaphore::operator++ | ( | int | ) | [inline] |
Definition at line 63 of file semaphore.h.
References check_pthread_call.
int stxxl::semaphore::operator-- | ( | int | ) | [inline] |
Definition at line 80 of file semaphore.h.
References check_pthread_call.
pthread_cond_t stxxl::semaphore::cond [private] |
Definition at line 37 of file semaphore.h.
pthread_mutex_t stxxl::semaphore::mutex [private] |
Definition at line 36 of file semaphore.h.
int stxxl::semaphore::v [private] |
Definition at line 31 of file semaphore.h.