![]() |
C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
|
#include <ThreadedMailbox.h>
Public Member Functions | |
| void | reset () |
| Reset semaphore object. | |
| void | notify () |
| Raise a semaphore. | |
| void | wait () |
| Wait for a semaphore. | |
| bool | wait_for (std::chrono::milliseconds timeout_ms) |
| Wait for a semaphore for a limited time. | |
| bool | try_wait () |
| Check whether a semaphore has been raised. | |
Definition at line 20 of file ThreadedMailbox.h.
|
inline |
Raise a semaphore.
Definition at line 35 of file ThreadedMailbox.h.
|
inline |
Reset semaphore object.
Definition at line 29 of file ThreadedMailbox.h.
|
inline |
Check whether a semaphore has been raised.
Definition at line 61 of file ThreadedMailbox.h.
|
inline |
Wait for a semaphore.
Definition at line 42 of file ThreadedMailbox.h.
|
inline |
Wait for a semaphore for a limited time.
Definition at line 50 of file ThreadedMailbox.h.