public synchronized void waitFor() {
            while (!broken) {
                try { wait(); } catch (InterruptedException e) {}
            }
        }
A simple object used to make one thread wait until another
thread tells it to continue.
jrt/tests/com/yahoo/jrt/Test.java