Lines Matching refs:interrupted

576      * Convenience method to park and then check if interrupted
578 * @return {@code true} if interrupted
582 return Thread.interrupted();
600 * @return {@code true} if interrupted while waiting
605 boolean interrupted = false;
612 return interrupted;
616 interrupted = true;
680 if (Thread.interrupted())
697 boolean interrupted = false;
705 if (interrupted)
713 interrupted = true;
784 if (Thread.interrupted())
950 * Acquires in exclusive mode, aborting if interrupted.
955 * until success or the thread is interrupted. This method can be
961 * @throws InterruptedException if the current thread is interrupted
965 if (Thread.interrupted())
972 * Attempts to acquire in exclusive mode, aborting if interrupted,
977 * {@link #tryAcquire} until success or the thread is interrupted
986 * @throws InterruptedException if the current thread is interrupted
990 if (Thread.interrupted())
1033 * Acquires in shared mode, aborting if interrupted. Implemented
1038 * is interrupted.
1043 * @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
1071 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.
1819 if (Thread.interrupted())
1850 * <li> If current thread is interrupted, throw InterruptedException.
1855 * <li> Block until signalled, interrupted, or timed out.
1858 * <li> If interrupted while blocked in step 4, throw InterruptedException.
1867 if (Thread.interrupted())
1894 * <li> If current thread is interrupted, throw InterruptedException.
1899 * <li> Block until signalled, interrupted, or timed out.
1902 * <li> If interrupted while blocked in step 4, throw InterruptedException.
1911 if (Thread.interrupted())