/** * Suspends ownership of the given lock, and returns the saved state. */ protected static LockState suspend(OrderedLock lock) { LockState state = new LockState(); state.lock = lock; state.depth = lock.forceRelease(); return state; }
/** * Suspends ownership of the given lock, and returns the saved state. */ protected static LockState suspend(OrderedLock lock) { LockState state = new LockState(); state.lock = lock; state.depth = lock.forceRelease(); return state; }
/** * Suspends ownership of the given lock, and returns the saved state. */ protected static LockState suspend(OrderedLock lock) { LockState state = new LockState(); state.lock = lock; state.depth = lock.forceRelease(); return state; }
/** * Suspends ownership of the given lock, and returns the saved state. */ protected static LockState suspend(OrderedLock lock) { LockState state = new LockState(); state.lock = lock; state.depth = lock.forceRelease(); return state; }