title: Can thread sleep when it got interrupted?
body: <p>In <code>waitComplete</code> I have a synchronized block with waiting on the lock. My concern is that scheduled interrupt will fire before it gets to wait. Will main thread be allowed to wait when interrupted flag is on?</p>
  
  <pre><code>try {
      executor.schedule(currentThread::interrupt,100, TimeUnit.MILLISECONDS);
      completor.waitComplete();
      fail();
  } catch (InterruptedException e) {}
  </code></pre>