private void handleEvents() {
        synchronized (this) {
            queue.flush(myQueue);
        }
        while (!myQueue.isEmpty()) {
            ((Runnable)myQueue.dequeue()).run();
        }
    }
A single reactor/scheduler thread inside a potentially
multi-threaded {@link Transport}.
jrt/src/com/yahoo/jrt/TransportThread.java