THM1176InstrumentDriver  1.0
C++ API for Metrolab THM1176
MTL::Synchronization::CSemaphore Class Reference

Counting semaphore. More...

#include <Synchronization.h>

Public Member Functions

void notify ()
 Raise a semaphore. More...
 
void wait ()
 Wait for a semaphore. More...
 
bool try_wait ()
 Check whether a semaphore has been raised. More...
 

Detailed Description

Counting semaphore.

Definition at line 24 of file Synchronization.h.

Member Function Documentation

◆ notify()

void MTL::Synchronization::CSemaphore::notify ( )
inline

Raise a semaphore.

Definition at line 33 of file Synchronization.h.

◆ try_wait()

bool MTL::Synchronization::CSemaphore::try_wait ( )
inline

Check whether a semaphore has been raised.

Definition at line 48 of file Synchronization.h.

◆ wait()

void MTL::Synchronization::CSemaphore::wait ( )
inline

Wait for a semaphore.

Definition at line 40 of file Synchronization.h.


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