#include <atomicops.h>
|
typedef std::make_signed< std::size_t >::type | ssize_t |
|
Definition at line 634 of file atomicops.h.
moodycamel::spsc_sema::LightweightSemaphore::LightweightSemaphore |
( |
ssize_t |
initialCount = 0 | ) |
|
|
inline |
ssize_t moodycamel::spsc_sema::LightweightSemaphore::availableApprox |
( |
| ) |
const |
|
inline |
void moodycamel::spsc_sema::LightweightSemaphore::signal |
( |
ssize_t |
count = 1 | ) |
|
|
inline |
bool moodycamel::spsc_sema::LightweightSemaphore::tryWait |
( |
| ) |
|
|
inline |
void moodycamel::spsc_sema::LightweightSemaphore::wait |
( |
| ) |
|
|
inline |
bool moodycamel::spsc_sema::LightweightSemaphore::wait |
( |
std::int64_t |
timeout_usecs | ) |
|
|
inline |
bool moodycamel::spsc_sema::LightweightSemaphore::waitWithPartialSpinning |
( |
std::int64_t |
timeout_usecs = -1 | ) |
|
|
inlineprivate |
Semaphore moodycamel::spsc_sema::LightweightSemaphore::m_sema |
|
private |
The documentation for this class was generated from the following file: