2324252627282930313233
public void run() { // Block until the server socket is created synchronized (server) { waitingThreadEnteredSynchronized.release(); try { server.wait(); } catch (InterruptedException e) { // Ignore don't care. } serverStarted.release(); }