DummyCondition Class Reference

Internal condition implementation without threads. More...

#include <dummycondition.h>

List of all members.

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.


Detailed Description

Internal condition implementation without threads.

Thus make sure wait() is never called.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Sat Feb 7 01:26:51 2009 by  doxygen 1.5.1