STXXL
1.4.0
|
Definition at line 47 of file condition_variable.h.
Public Member Functions | |
condition_variable () | |
initialize condition variable More... | |
~condition_variable () | |
destroy condition variable More... | |
void | notify_all () |
notify all waiting threads More... | |
void | notify_one () |
notify one waiting thread More... | |
void | wait (scoped_mutex_lock &lock) |
wait for a signal on the condition variable More... | |
Private Attributes | |
pthread_cond_t | cond |
pthread handle to condition More... | |
Additional Inherited Members | |
Private Member Functions inherited from stxxl::noncopyable | |
noncopyable () | |
|
inline |
initialize condition variable
Definition at line 54 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
destroy condition variable
Definition at line 59 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
notify all waiting threads
Definition at line 69 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
notify one waiting thread
Definition at line 64 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
wait for a signal on the condition variable
Definition at line 74 of file condition_variable.h.
References stxxl::scoped_mutex_lock::native_handle(), and STXXL_CHECK_PTHREAD_CALL.
|
private |
pthread handle to condition
Definition at line 50 of file condition_variable.h.