#include <pthreadcond.hpp>
Definition at line 27 of file pthreadcond.hpp.
◆ State
| Enumerator |
|---|
| UNSIGNALED | |
| SIGNALED | |
| ERROR_THROWN | |
Definition at line 29 of file pthreadcond.hpp.
◆ Status
| Enumerator |
|---|
| SUCCESS | |
| CHOSEN_ONE | |
| TIMEOUT | |
| ERROR_SIGNAL | |
Definition at line 38 of file pthreadcond.hpp.
◆ PThreadBarrier() [1/2]
| openvpn::PThreadBarrier::PThreadBarrier |
( |
const int |
initial_limit = -1 | ) |
|
|
inline |
◆ PThreadBarrier() [2/2]
| openvpn::PThreadBarrier::PThreadBarrier |
( |
Stop * |
stop_arg, |
|
|
const int |
initial_limit = -1 |
|
) |
| |
|
inline |
◆ error()
| void openvpn::PThreadBarrier::error |
( |
| ) |
|
|
inline |
◆ set_limit()
| void openvpn::PThreadBarrier::set_limit |
( |
const int |
new_limit | ) |
|
|
inline |
◆ signal()
| void openvpn::PThreadBarrier::signal |
( |
| ) |
|
|
inline |
◆ signal_()
| void openvpn::PThreadBarrier::signal_ |
( |
const State |
newstate | ) |
|
|
inlineprivate |
◆ wait()
| int openvpn::PThreadBarrier::wait |
( |
const unsigned int |
seconds | ) |
|
|
inline |
◆ chosen
| bool openvpn::PThreadBarrier::chosen = false |
|
private |
◆ count
| int openvpn::PThreadBarrier::count = 0 |
|
private |
◆ cv
| std::condition_variable openvpn::PThreadBarrier::cv |
|
private |
◆ limit
| int openvpn::PThreadBarrier::limit |
|
private |
◆ mutex
| std::mutex openvpn::PThreadBarrier::mutex |
|
private |
◆ state
◆ stop
| Stop* openvpn::PThreadBarrier::stop |
|
private |
The documentation for this class was generated from the following file: