httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: Memory Hog
Date Sun, 10 Oct 1999 19:20:46 GMT

Ryan Bloom wrote:
> > Something needs to be done. I don't really understand why the
> > ap_pollset_t isn't just a struct pollfd (or a thin wrapper around one).
> > And why translate between POLLIN and APR_POLLIN et al. instead of just
> > making them the same? Also, having to scan the whole pollset to find a
> > particular socket is dreadful (especially since this is going to be used
> > in a scan through all sockets in the main loop, making it an O(n^2)
> > process).
> Because we can't just use POLLIN.  On systems that don't have poll, POLLIN
> isn't defined.

I was aware of that. What I meant was why not make APR_POLLIN == POLLIN
when POLLIN is defined?




"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

View raw message