MCWaitNotifyAll Class ReferenceAn waitnotify which allows multiple waiters to be awoken simultaneously.
Inheritance diagram for MCWaitNotifyAll:
List of all members.
Public Member Functions
virtual void ||notifyAll ()=0|
| ||Notify all waiters that an event occured. |
|virtual bool ||wait (mcinterval_t interval)=0|
| ||Wait for an interval until notified or until the interval elapses. |
virtual ||~MCWaitNotifyAll ()|
| ||Virtual destructor. |
An waitnotify which allows multiple waiters to be awoken simultaneously.
WaitNotifyAll also allow threads to specify a time limit when waiting for the event to occur.
Member Function Documentation
Wait for an interval until notified or until the interval elapses.
|interval ||the maximum time in milliseconds to wait for the notify to occur. |
- true if the calling thread has entered the monitor, false if the interval elapsed before the calling thread entered the monitor.
Implemented in MCCondVar, and MCMonitor.
Generated on Wed Jan 12 19:05:51 2005 for MCLLIB by