900901902903904905906907908909910911912913
public void interrupt() { if (this != Thread.currentThread()) checkAccess(); synchronized (blockerLock) { Interruptible b = blocker; if (b != null) { interrupt0(); // Just to set the interrupt flag b.interrupt(); return; } } interrupt0(); }
857858859860861862863864865866867868869870
742743744745746747748749750751752
* @revised 1.4 * @spec JSR-51 */ public void interrupt() { checkAccess(); Interruptible b = blocker; if (b != null) { b.interrupt(); } interrupt0(); }
11601161116211631164116511661167116811691170117111721173
927928929930931932933934935936937938939940
public void interrupt() { if (this != Thread.currentThread()) checkAccess(); synchronized (blockerLock) { Interruptible b = blocker; if (b != null) { interrupt0(); // Just to set the interrupt flag b.interrupt(this); return; } } interrupt0(); }