/** * Join the execution of the thread * * @return true if the job was joined, false otherwise * @throws InterruptedException if interrupted */ public boolean join() throws InterruptedException { ExecutionThread t = current; if (t == null) return false; t.join(); return true; }