#include <dummycondition.h>
Public Member Functions | |
DummyCondition (DummyLock &) throw () | |
Condition constructor. | |
void | wait () throw () |
Never call this method. | |
void | notify () throw () |
Does nothing. | |
void | notifyall () throw () |
Does nothing. |
Thus make sure wait() is never called.
void DummyCondition::wait | ( | ) | throw () [inline] |
Never call this method.
In a threaded environment it would wait for other threads to notify this condition. In a single threaded environment this would obviously result in a deadlock, so this is asserted.
void DummyCondition::notify | ( | ) | throw () [inline] |
Does nothing.
In a threaded environment it wakes up one threads wait()ing for this condition.
void DummyCondition::notifyall | ( | ) | throw () [inline] |
Does nothing.
In a threaded environment it wakes up all threads wait()ing for this condition.