Re: Waking up a network server: 2 threads + semaphore vs 1 thread + pipe