RAII-style semaphore lock.
More...
#include <sync.h>
RAII-style semaphore lock.
Definition at line 230 of file sync.h.
CSemaphoreGrant::CSemaphoreGrant |
( |
| ) |
|
|
inline |
CSemaphoreGrant::CSemaphoreGrant |
( |
CSemaphore & |
sema, |
|
|
bool |
fTry = false |
|
) |
| |
|
inline |
CSemaphoreGrant::~CSemaphoreGrant |
( |
| ) |
|
|
inline |
void CSemaphoreGrant::Acquire |
( |
| ) |
|
|
inline |
CSemaphoreGrant::operator bool |
( |
| ) |
|
|
inline |
void CSemaphoreGrant::Release |
( |
| ) |
|
|
inline |
bool CSemaphoreGrant::TryAcquire |
( |
| ) |
|
|
inline |
bool CSemaphoreGrant::fHaveGrant |
|
private |
The documentation for this class was generated from the following file: