// There are no actors that are blocked on a communication
// (send or receive) to the outside world.
if (_inputBranchController.isBlocked()) {
while (!_outputBranchController.isBlocked()) {
try {
workspace.wait(this);
} catch (InterruptedException e) {
// TODO: determine best way to handle the exception
throw new IllegalActionException(this,
"Interrupted.");
}