Code example for Condition

Methods: signalAll

0
    @Override 
    public void wakeup() { 
	_lock.lock();
	try { 
	    _sleeps = false;
	    _isSleeping.signalAll();
	} finally { 
	    _lock.unlock();
	} 
    } 
 
    @Override 
    public void stop() {	 
    } 
 
    @Override 
    public void start() {	 
    } 
 
}