#include <lightweightsemaphore.h>
◆ ssize_t
◆ LightweightSemaphore()
| moodycamel::LightweightSemaphore::LightweightSemaphore |
( |
ssize_t |
initialCount = 0, |
|
|
int |
maxSpins = 10000 |
|
) |
| |
|
inline |
◆ availableApprox()
| std::size_t moodycamel::LightweightSemaphore::availableApprox |
( |
| ) |
const |
|
inline |
◆ signal()
| void moodycamel::LightweightSemaphore::signal |
( |
ssize_t |
count = 1 | ) |
|
|
inline |
◆ tryWait()
| bool moodycamel::LightweightSemaphore::tryWait |
( |
| ) |
|
|
inline |
◆ tryWaitMany()
◆ wait() [1/2]
| bool moodycamel::LightweightSemaphore::wait |
( |
| ) |
|
|
inline |
◆ wait() [2/2]
| bool moodycamel::LightweightSemaphore::wait |
( |
std::int64_t |
timeout_usecs | ) |
|
|
inline |
◆ waitMany() [1/2]
◆ waitMany() [2/2]
| ssize_t moodycamel::LightweightSemaphore::waitMany |
( |
ssize_t |
max, |
|
|
std::int64_t |
timeout_usecs |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: