#include <qsemaphore.h>
Definition at line 16 of file qsemaphore.h.
◆ QSemaphore()
QSemaphore::QSemaphore |
( |
int | n = 0 | ) |
|
|
explicit |
◆ ~QSemaphore()
QSemaphore::~QSemaphore |
( |
| ) |
|
◆ acquire()
void QSemaphore::acquire |
( |
int | n = 1 | ) |
|
◆ available()
int QSemaphore::available |
( |
| ) |
const |
◆ release()
void QSemaphore::release |
( |
int | n = 1 | ) |
|
◆ try_acquire()
bool QSemaphore::try_acquire |
( |
| ) |
|
|
inlinenoexcept |
◆ try_acquire_for()
template<typename Rep, typename Period>
bool QSemaphore::try_acquire_for |
( |
const std::chrono::duration< Rep, Period > & | timeout | ) |
|
|
inline |
◆ try_acquire_until()
template<typename Clock, typename Duration>
bool QSemaphore::try_acquire_until |
( |
const std::chrono::time_point< Clock, Duration > & | tp | ) |
|
|
inline |
◆ tryAcquire() [1/3]
bool QSemaphore::tryAcquire |
( |
int | n, |
|
|
int | timeout ) |
◆ tryAcquire() [2/3]
◆ tryAcquire() [3/3]
bool QSemaphore::tryAcquire |
( |
int | n = 1 | ) |
|
QSemaphorePrivate* QSemaphore::d |
◆ u32
◆ u64
The documentation for this class was generated from the following files: