Home | History | Annotate | Download | only in locks

Lines Matching refs:interrupted

579      * Convenience method to park and then check if interrupted
581 * @return {@code true} if interrupted
585 return Thread.interrupted();
603 * @return {@code true} if interrupted while waiting
608 boolean interrupted = false;
615 return interrupted;
619 interrupted = true;
683 if (Thread.interrupted())
700 boolean interrupted = false;
708 if (interrupted)
716 interrupted = true;
787 if (Thread.interrupted())
953 * Acquires in exclusive mode, aborting if interrupted.
958 * until success or the thread is interrupted. This method can be
964 * @throws InterruptedException if the current thread is interrupted
967 if (Thread.interrupted())
974 * Attempts to acquire in exclusive mode, aborting if interrupted,
979 * {@link #tryAcquire} until success or the thread is interrupted
988 * @throws InterruptedException if the current thread is interrupted
991 if (Thread.interrupted())
1034 * Acquires in shared mode, aborting if interrupted. Implemented
1039 * is interrupted.
1044 * @throws InterruptedException if the current thread is interrupted
1047 if (Thread.interrupted())
1054 * Attempts to acquire in shared mode, aborting if interrupted, and
1060 * is interrupted or the timeout elapses.
1067 * @throws InterruptedException if the current thread is interrupted
1070 if (Thread.interrupted())
1725 boolean interrupted = false;
1728 if (Thread.interrupted())
1729 interrupted = true;
1731 if (acquireQueued(node, savedState) || interrupted)
1737 * InterruptedException, if interrupted while blocked on
1739 * interrupted while blocked waiting to re-acquire.
1748 * Checks for interrupt, returning THROW_IE if interrupted
1750 * 0 if not interrupted.
1753 return Thread.interrupted() ?
1773 * <li> If current thread is interrupted, throw InterruptedException.
1778 * <li> Block until signalled or interrupted.
1781 * <li> If interrupted while blocked in step 4, throw InterruptedException.
1785 if (Thread.interrupted())
1806 * <li> If current thread is interrupted, throw InterruptedException.
1811 * <li> Block until signalled, interrupted, or timed out.
1814 * <li> If interrupted while blocked in step 4, throw InterruptedException.
1818 if (Thread.interrupted())
1849 * <li> If current thread is interrupted, throw InterruptedException.
1854 * <li> Block until signalled, interrupted, or timed out.
1857 * <li> If interrupted while blocked in step 4, throw InterruptedException.
1865 if (Thread.interrupted())
1892 * <li> If current thread is interrupted, throw InterruptedException.
1897 * <li> Block until signalled, interrupted, or timed out.
1900 * <li> If interrupted while blocked in step 4, throw InterruptedException.
1908 if (Thread.interrupted())