STXXL
1.4.1
|
Definition at line 46 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 53 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
destroy condition variable
Definition at line 58 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
notify all waiting threads
Definition at line 68 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
notify one waiting thread
Definition at line 63 of file condition_variable.h.
References STXXL_CHECK_PTHREAD_CALL.
|
inline |
wait for a signal on the condition variable
Definition at line 73 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 49 of file condition_variable.h.