Exiting blocked threads (socket.accept)

Sean Kelly sean at invisibleduck.org
Wed Mar 27 12:07:20 PDT 2013


Have each thread select() on the read end of a pipe that the main thread writes to when it wants to trigger a wakeup--write() is legal even in signal handlers.


More information about the Digitalmars-d-learn mailing list