C++ Instrument Catalog
|
#include <ThreadedMailbox.h>
Public Member Functions | |
void | reset () |
Reset semaphore object. More... | |
void | notify () |
Raise a semaphore. More... | |
void | wait () |
Wait for a semaphore. More... | |
bool | wait_for (std::chrono::milliseconds timeout_ms) |
Wait for a semaphore for a limited time. More... | |
bool | try_wait () |
Check whether a semaphore has been raised. More... | |
Definition at line 19 of file ThreadedMailbox.h.
|
inline |
Raise a semaphore.
Definition at line 34 of file ThreadedMailbox.h.
|
inline |
Reset semaphore object.
Definition at line 28 of file ThreadedMailbox.h.
|
inline |
Check whether a semaphore has been raised.
Definition at line 60 of file ThreadedMailbox.h.
|
inline |
Wait for a semaphore.
Definition at line 41 of file ThreadedMailbox.h.
|
inline |
Wait for a semaphore for a limited time.
Definition at line 49 of file ThreadedMailbox.h.