Stxxl
1.4.0
|
#include <state.h>
Public Member Functions | |
state (value_type s) | |
~state () | |
void | set_to (value_type new_state) |
void | wait_for (value_type needed_state) |
value_type | operator() () |
Private Types | |
typedef Tp | value_type |
Private Attributes | |
pthread_mutex_t | mutex |
pthread_cond_t | cond |
value_type | _state |
typedef Tp stxxl::state< Tp >::value_type [private] |
stxxl::state< Tp >::state | ( | value_type | s | ) | [inline] |
stxxl::state< Tp >::~state | ( | ) | [inline] |
value_type stxxl::state< Tp >::operator() | ( | ) | [inline] |
void stxxl::state< Tp >::set_to | ( | value_type | new_state | ) | [inline] |
Definition at line 67 of file state.h.
Referenced by stxxl::serving_request::completed(), stxxl::request_queue_impl_worker::start_thread(), and stxxl::request_queue_impl_worker::stop_thread().
void stxxl::state< Tp >::wait_for | ( | value_type | needed_state | ) | [inline] |
value_type stxxl::state< Tp >::_state [private] |
pthread_cond_t stxxl::state< Tp >::cond [private] |
pthread_mutex_t stxxl::state< Tp >::mutex [private] |