gPTP Documentation
|
#include <avbts_oscondition.hpp>
Public Member Functions | |
virtual bool | wait ()=0 |
Waits until a condition is met. More... | |
virtual bool | wait_prelock ()=0 |
Waits for lock. More... | |
virtual bool | signal ()=0 |
Sends a signal to unblock other threads. More... | |
virtual | ~OSCondition ()=0 |
Protected Member Functions | |
OSCondition () | |
void | up () |
Counts up waiting condition. More... | |
void | down () |
Conds down waiting condition. More... | |
bool | waiting () |
Checks if OS is waiting. More... | |
Provides a generic interface for OS's locking condition
|
inlinepure virtual |
Deletes previously declared flags
|
inlineprotected |
Default constructor. Initializes internal variables
|
inlineprotected |
Conds down waiting condition.
|
pure virtual |
Sends a signal to unblock other threads.
Implemented in LinuxCondition, and WindowsCondition.
|
inlineprotected |
Counts up waiting condition.
|
pure virtual |
Waits until a condition is met.
Implemented in LinuxCondition, and WindowsCondition.
|
pure virtual |
|
inlineprotected |
Checks if OS is waiting.