Condition object for this Synchronizer, which serves as the basis for other Lock objects. More...
#include <src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.h>

Public Member Functions | |
| ConditionObject () | |
| virtual | ~ConditionObject () |
Protected Member Functions | |
| virtual bool | isOwnedBy (const AbstractQueuedSynchronizer *sync) const =0 |
| Used to check on the ownership status of this ConditionObject. | |
| virtual bool | hasWaiters () const =0 |
| Returns true if there are any waiters on this Condition object at the time of its calling. | |
| virtual int | getWaitQueueLength () const =0 |
| Calculates and returns an estimate of the number of Threads that are waiting on this Condition object. | |
| virtual Collection < decaf::lang::Thread * > * | getWaitingThreads () const =0 |
| Retrieves a new Collection object that contains Threads that may be waiting on this Condition object. | |
Friends | |
| class | AbstractQueuedSynchronizer |
Condition object for this Synchronizer, which serves as the basis for other Lock objects.
| decaf::util::concurrent::locks::AbstractQueuedSynchronizer::ConditionObject::ConditionObject | ( | ) | [inline] |
| virtual decaf::util::concurrent::locks::AbstractQueuedSynchronizer::ConditionObject::~ConditionObject | ( | ) | [inline, virtual] |
| virtual Collection<decaf::lang::Thread*>* decaf::util::concurrent::locks::AbstractQueuedSynchronizer::ConditionObject::getWaitingThreads | ( | ) | const [protected, pure virtual] |
Retrieves a new Collection object that contains Threads that may be waiting on this Condition object.
| virtual int decaf::util::concurrent::locks::AbstractQueuedSynchronizer::ConditionObject::getWaitQueueLength | ( | ) | const [protected, pure virtual] |
Calculates and returns an estimate of the number of Threads that are waiting on this Condition object.
| virtual bool decaf::util::concurrent::locks::AbstractQueuedSynchronizer::ConditionObject::hasWaiters | ( | ) | const [protected, pure virtual] |
Returns true if there are any waiters on this Condition object at the time of its calling.
| virtual bool decaf::util::concurrent::locks::AbstractQueuedSynchronizer::ConditionObject::isOwnedBy | ( | const AbstractQueuedSynchronizer * | sync | ) | const [protected, pure virtual] |
Used to check on the ownership status of this ConditionObject.
friend class AbstractQueuedSynchronizer [friend] |
1.6.1