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