controller.getThreadMonitor().threadPaused(threadName); // we are stopping ...
++waiting;
conditionObject.awaitUninterruptibly();
Logging.conditionStatus(controller, Logging.ConditionStatusType.AWAIT_RELEASED, threadName);
ProtolibTimer timer = new ProtolibTimer(controller, 0, 0);
timer.startTimerAndBlockUntilTimeout(); // releases control
}
/**
* Causes the current thread to wait until it is signalled or interrupted,
* or the specified waiting time elapses.