C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
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 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 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: