A managed condition. More...
Public Member Functions | |
| void | halt () |
| Releases the lock on an object and blocks the current thread until it reacquires the lock. More... | |
| boolean | halt (int millisecondsTimeout) |
| Releases the lock on an object and blocks the current thread until it reacquires the lock. More... | |
| void | pulse () |
| Notifies a thread in the waiting queue of a change in the locked object's state. More... | |
| void | pulseAll () |
| Notifies all waiting threads of a change in the object's state. More... | |
A managed condition.
| void fm.liveswitch.ManagedCondition.halt | ( | ) |
Releases the lock on an object and blocks the current thread until it reacquires the lock.
| boolean fm.liveswitch.ManagedCondition.halt | ( | int | millisecondsTimeout | ) |
Releases the lock on an object and blocks the current thread until it reacquires the lock.
| millisecondsTimeout | The number of milliseconds to wait before the thread enters the ready queue. |
| void fm.liveswitch.ManagedCondition.pulse | ( | ) |
Notifies a thread in the waiting queue of a change in the locked object's state.
| void fm.liveswitch.ManagedCondition.pulseAll | ( | ) |
Notifies all waiting threads of a change in the object's state.