Bitcoin
|
#include <sync.h>
Public Member Functions | |
void | Acquire () |
void | Release () |
bool | TryAcquire () |
void | MoveTo (CSemaphoreGrant &grant) |
CSemaphoreGrant () | |
CSemaphoreGrant (CSemaphore &sema, bool fTry=false) | |
~CSemaphoreGrant () | |
operator bool () const | |
Private Attributes | |
CSemaphore * | sem |
bool | fHaveGrant |
RAII-style semaphore lock
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |