httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sorin Manolache <>
Subject Re: Protocol converter module
Date Wed, 06 Jun 2012 07:26:16 GMT
On 2012-06-05 20:39, Robert Mitschke wrote:
> The Alternative would be to have all blocking on the Same pipe. For each
> connection Handler I want to wake up I make a Note in shared mem then write
> a Single Byte to the pipe causing all blocking threads to wake up. These
> will Check in the shared mem whether they are meant and only if they are
> will read a Byte from the pipe.

I was thinking about the second approach too. But its problem is that 
when you write something to the pipe, the operating system chooses 
randomly _one_ process to wake up. Not all of them will wake up. And 
that's the problem.


View raw message