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.
- Exiting blocked threads (socket.accept) Tim
- Re: Exiting blocked threads (socket.accept) Sean Kelly
- Re: Exiting blocked threads (socket.accept) Martin Drašar
- Re: Exiting blocked threads (socket.accept) Tim