d421741a83
Create a thread just to wait for the server process exit. This paves the way to simply wake up a blocking accept() in a portable way.