public void wakeup_if_not_self() {
        if (Thread.currentThread() != thread) {
            wakeup();
        }
    }
Wakes up this transport thread explicitly, but only if the
calling thread is not the transport thread itself.
jrt/src/com/yahoo/jrt/TransportThread.java