![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#include <sync.h>
Public Member Functions | |
CSemaphore (int init) | |
void | wait () |
bool | try_wait () |
void | post () |
Private Attributes | |
std::condition_variable | condition |
std::mutex | mutex |
int | value |
|
inline |
|
inline |
|
inline |