CUBRID Engine
latest
|
#include <semaphore.hpp>
Public Member Functions | |
semaphore (const T &init_value) | |
void | signal (const T &new_value) |
void | wait (const T &required_value) |
Private Attributes | |
T | value |
std::mutex | m_mutex |
std::condition_variable | m_cond_var |
Definition at line 44 of file semaphore.hpp.
|
inline |
Definition at line 53 of file semaphore.hpp.
|
inline |
Definition at line 58 of file semaphore.hpp.
Referenced by cubsync::event_semaphore::clear(), and cubsync::event_semaphore::set().
|
inline |
Definition at line 66 of file semaphore.hpp.
Referenced by cubsync::event_semaphore::wait().
|
private |
Definition at line 50 of file semaphore.hpp.
|
private |
Definition at line 49 of file semaphore.hpp.
|
private |
Definition at line 47 of file semaphore.hpp.