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