34 #ifndef AVBTS_OSSIGNAL_HPP
35 #define AVBTS_OSSIGNAL_HPP
50 virtual bool wait() = 0;
97 return wait_count > 0;
OSCondition()
Definition: avbts_oscondition.hpp:72
Definition: avbts_oscondition.hpp:106
bool waiting()
Checks if OS is waiting.
Definition: avbts_oscondition.hpp:96
virtual ~OSConditionFactory()=0
Definition: avbts_oscondition.hpp:120
virtual bool wait()=0
Waits until a condition is met.
virtual bool signal()=0
Sends a signal to unblock other threads.
Definition: avbts_oscondition.hpp:42
void up()
Counts up waiting condition.
Definition: avbts_oscondition.hpp:80
virtual OSCondition * createCondition()=0
Creates OSCondition class.
void down()
Conds down waiting condition.
Definition: avbts_oscondition.hpp:88
virtual bool wait_prelock()=0
Waits for lock.
virtual ~OSCondition()=0
Definition: avbts_oscondition.hpp:101