![]() |
THM1176InstrumentDriver 1.2
C++ API for Metrolab THM1176
|
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. | |
Counting semaphore.
Definition at line 24 of file Synchronization.h.
|
inline |
Raise a semaphore.
Definition at line 33 of file Synchronization.h.
|
inline |
Check whether a semaphore has been raised.
Definition at line 59 of file Synchronization.h.
|
inline |
Wait for a semaphore.
Definition at line 40 of file Synchronization.h.
|
inline |
Wait for a semaphore for a given number of milliseconds.
Definition at line 48 of file Synchronization.h.