FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Public Member Functions | List of all members
LightweightSemaphore Class Reference

#include <Semaphore.hpp>

Public Member Functions

 LightweightSemaphore (int initialCount=0)
 
bool tryWait ()
 
void wait ()
 
void signal (int count=1)
 
int getCount ()
 

Constructor & Destructor Documentation

◆ LightweightSemaphore()

LightweightSemaphore::LightweightSemaphore ( int  initialCount = 0)
inline

Member Function Documentation

◆ getCount()

int LightweightSemaphore::getCount ( )
inline

◆ signal()

void LightweightSemaphore::signal ( int  count = 1)
inline

◆ tryWait()

bool LightweightSemaphore::tryWait ( )
inline

◆ wait()

void LightweightSemaphore::wait ( )
inline

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