moodycamel::spsc_sema::LightweightSemaphore
#include <atomicops.h>
Public Types
 | 
Name | 
| typedef std::make_signed< std::size_t >::type | 
ssize_t | 
Public Functions
Public Types Documentation
typedef ssize_t
 | typedef std::make_signed<std::size_t>::type moodycamel::spsc_sema::LightweightSemaphore::ssize_t;
  | 
 
Public Functions Documentation
function LightweightSemaphore
 | inline AE_NO_TSAN LightweightSemaphore(
    ssize_t initialCount =0
)
  | 
 
function tryWait
function wait
function wait
 | inline bool wait(
    std::int64_t timeout_usecs
)
  | 
 
function signal
 | inline void signal(
    ssize_t count =1
)
  | 
 
function availableApprox
 | inline ssize_t availableApprox() const
  | 
 
Updated on 2023-07-03 at 11:02:02 +0000