#include <atomicops.h>
|
typedef std::make_signed< std::size_t >::type | ssize_t |
|
◆ ssize_t
◆ LightweightSemaphore()
moodycamel::spsc_sema::LightweightSemaphore::LightweightSemaphore |
( |
ssize_t |
initialCount = 0 | ) |
|
|
inline |
◆ availableApprox()
ssize_t moodycamel::spsc_sema::LightweightSemaphore::availableApprox |
( |
| ) |
const |
|
inline |
◆ signal()
void moodycamel::spsc_sema::LightweightSemaphore::signal |
( |
ssize_t |
count = 1 | ) |
|
|
inline |
◆ tryWait()
bool moodycamel::spsc_sema::LightweightSemaphore::tryWait |
( |
| ) |
|
|
inline |
◆ wait() [1/2]
void moodycamel::spsc_sema::LightweightSemaphore::wait |
( |
| ) |
|
|
inline |
◆ wait() [2/2]
bool moodycamel::spsc_sema::LightweightSemaphore::wait |
( |
std::int64_t |
timeout_usecs | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/nico/joda_tmp/tmp-joda-dirs/JODA-gh/libs/joda/core/modules/concurrency/include/joda/concurrency/atomicops.h