Community
Participate
Working Groups
if (blocker == newBlocker) {
synchronized (blockingJob.jobStateLock) {
try {
blockingJob.jobStateLock.wait();
//blocking job may have finished before we entered sync block
if (blockingJob.getState() == Job.RUNNING)
} catch (InterruptedException e) {
interrupted = true;
// Must break here to ensure aboutToWait() is called outside the lock.