cartobase  5.0.5
carto::Semaphore Class Reference

#include <cartobase/thread/semaphore.h>

Public Member Functions

 Semaphore (int initnum=0)
 
 ~Semaphore ()
 
bool post ()
 
void wait ()
 
bool tryWait ()
 
int getValue ()
 

Detailed Description

Definition at line 46 of file semaphore.h.

Constructor & Destructor Documentation

◆ Semaphore()

carto::Semaphore::Semaphore ( int  initnum = 0)

◆ ~Semaphore()

carto::Semaphore::~Semaphore ( )

Member Function Documentation

◆ getValue()

int carto::Semaphore::getValue ( )

◆ post()

bool carto::Semaphore::post ( )

◆ tryWait()

bool carto::Semaphore::tryWait ( )

◆ wait()

void carto::Semaphore::wait ( )

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