proc.getScheduler().addToReadyQueue(this, false);
proc.getScheduler().addToReadyQueue(this, false, "thread.resume");
    public final void resume() {        checkAccess();        if (threadState != SUSPENDED) {            throw new IllegalThreadStateException("Not suspended");        } else {            final VmProcessor proc = VmProcessor.current();            threadState = RUNNING;            // FIXME make multi cpu safe            proc.getScheduler().addToReadyQueue(this, false);        }    }