![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <sync.h>
Public Member Functions | |
CSemaphore (int init) | |
void | wait () |
bool | try_wait () |
void | post () |
Private Attributes | |
boost::condition_variable | condition |
boost::mutex | mutex |
int | value |
|
inline |
Definition at line 212 of file sync.h.
Referenced by CConnman::Interrupt(), CSemaphoreGrant::Release(), and CConnman::Stop().
|
inline |
Definition at line 203 of file sync.h.
Referenced by CSemaphoreGrant::TryAcquire().
|
inline |
Definition at line 194 of file sync.h.
Referenced by CSemaphoreGrant::Acquire().
|
private |
|
private |
Definition at line 188 of file sync.h.
Referenced by post(), try_wait(), and wait().
|
private |
Definition at line 189 of file sync.h.
Referenced by post(), try_wait(), and wait().