barretenberg
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
moodycamel::LightweightSemaphore Class Reference

Public Types

typedef std::make_signed< std::size_t >::type ssize_t
 

Public Member Functions

 LightweightSemaphore (ssize_t initialCount=0, int maxSpins=10000)
 
bool tryWait ()
 
bool wait ()
 
bool wait (std::int64_t timeout_usecs)
 
ssize_t tryWaitMany (ssize_t max)
 
ssize_t waitMany (ssize_t max, std::int64_t timeout_usecs)
 
ssize_t waitMany (ssize_t max)
 
void signal (ssize_t count=1)
 
std::size_t availableApprox () const
 

The documentation for this class was generated from the following file: