httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: apache-apr
Date Thu, 15 Apr 1999 20:23:52 GMT
Dean Gaudet wrote:
> 
> On Mon, 12 Apr 1999, Manoj Kasichainula wrote:
> 
> > I think the problem is that the method we're using to kick out our
> > acceptor thread from accept() isn't working correctly. AFAIK, close()
> 
> A portable method would be non-blocking listening sockets, and a pipe().

To be portable it has to be a socketpipe. Not all OSes will select on a
plain pipe.

> select on the listening socket(s) and the read-half of the pipe.  Wake it
> up by writing to the pipe.
> 
> Which gets us back to the argument about how to do the accepts :)

It does?

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Mime
View raw message