#include <PriorityCondition.h>
Inheritance diagram for PriorityCondition:
Public Methods | |
PriorityCondition (Lockable &l) | |
~PriorityCondition () throw () | |
Destroy PriorityCondition object. | |
void | signal () |
void | broadcast () |
virtual void | wait () |
virtual bool | wait (unsigned long timeout) |
Threads blocked on a PriorityCondition are resumed in priority order, highest priority first
|
Create a new condition variable associated with the given Lockable object.
|
|
Wake ALL threads wait()ing on this PriorityCondition.
|
|
Wake ONE threads wait()ing on this PriorityCondition.
|
|
Wait for this PriorityCondition object to be signal()ed. The thread calling this method will block until the PriorityCondition is signal()ed, broadcast() to or until the timeout expires. This operation atomically release()s the associated Lockable and blocks the calling thread.
Reimplemented from Waitable. |
|
Wait for this PriorityCondition object to be signal()ed. The thread calling this method will block until the PriorityCondition is signal()ed or broadcast() to. This operation atomically release()s the associated Lockable and blocks the calling thread.
Reimplemented from Waitable. |