THM1176InstrumentManager 1.1
Qt Object abstraction for Metrolab THM1176
Loading...
Searching...
No Matches
MTL::Synchronization::CSemaphore Class Reference

Counting semaphore. More...

#include <Synchronization.h>

Public Member Functions

void notify ()
 Raise a semaphore.
 
void wait ()
 Wait for a semaphore.
 
bool wait (unsigned long Timeout)
 Wait for a semaphore for a given number of milliseconds.
 
bool try_wait ()
 Check whether a semaphore has been raised.
 

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 59 of file Synchronization.h.

◆ wait() [1/2]

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

Wait for a semaphore.

Definition at line 40 of file Synchronization.h.

◆ wait() [2/2]

bool MTL::Synchronization::CSemaphore::wait ( unsigned long Timeout)
inline

Wait for a semaphore for a given number of milliseconds.

Definition at line 48 of file Synchronization.h.


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