/** * Releases this lock from the thread that used to own it. * Grants this lock to the next thread in the queue. */ private synchronized void doRelease() { //notify hook manager.aboutToRelease(); depth = 0; Semaphore next = (Semaphore) operations.peek(); setCurrentOperationThread(null); if (next != null) next.release(); }
/** * Releases this lock from the thread that used to own it. * Grants this lock to the next thread in the queue. */ private synchronized void doRelease() { //notify hook manager.aboutToRelease(); depth = 0; Semaphore next = (Semaphore) operations.peek(); setCurrentOperationThread(null); if (next != null) next.release(); }
/** * Releases this lock from the thread that used to own it. * Grants this lock to the next thread in the queue. */ private synchronized void doRelease() { //notify hook manager.aboutToRelease(); depth = 0; Semaphore next = (Semaphore) operations.peek(); setCurrentOperationThread(null); if (next != null) next.release(); }
/** * Releases this lock from the thread that used to own it. * Grants this lock to the next thread in the queue. */ private synchronized void doRelease() { //notify hook manager.aboutToRelease(); depth = 0; Semaphore next = (Semaphore) operations.peek(); setCurrentOperationThread(null); if (next != null) next.release(); }
lockManager.aboutToRelease(); removeJobChangeListener(listener); reportUnblocked(monitor);
lockManager.aboutToRelease(); removeJobChangeListener(listener); reportUnblocked(monitor);
lockManager.aboutToRelease(); removeJobChangeListener(listener); reportUnblocked(monitor);
lockManager.aboutToRelease(); removeJobChangeListener(listener); reportUnblocked(monitor);
lockManager.aboutToRelease(); job.removeJobChangeListener(listener);
lockManager.aboutToRelease(); job.removeJobChangeListener(listener);
lockManager.aboutToRelease(); job.removeJobChangeListener(listener);
lockManager.aboutToRelease(); job.removeJobChangeListener(listener);
return waitForRun(threadJob, monitor, blockingJob, blocker); } finally { manager.getLockManager().aboutToRelease();
return waitForRun(threadJob, monitor, blockingJob, blocker); } finally { manager.getLockManager().aboutToRelease();
return waitForRun(threadJob, monitor, blockingJob, blocker); } finally { manager.getLockManager().aboutToRelease();
manager.getLockManager().aboutToRelease();