You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Paul Querna <ch...@force-elite.com> on 2004/07/18 23:36:38 UTC

[PATCH] pollset_poll() improvements

	The attached patch removes the double for() loops in both the KQueue
and epoll _poll() implementations.  Both epoll and kqueue have a method
for associating arbitrary user data with the event.  This patch uses
these to store the key to an event's location in the query_set array.

	I also had to change testpoll.c again because the kqueue and epoll
implementations will return their result set with a different order (but
the same sockets will still come..)

Thanks,

-Paul Querna   


Re: [PATCH] pollset_poll() improvements

Posted by Paul Querna <ch...@force-elite.com>.
Sorry, this was intended for apr-dev, I sent it here on accident :)

On Sun, 2004-07-18 at 14:36 -0700, Paul Querna wrote:
> 	The attached patch removes the double for() loops in both the KQueue
> and epoll _poll() implementations.  Both epoll and kqueue have a method
> for associating arbitrary user data with the event.  This patch uses
> these to store the key to an event's location in the query_set array.
> 
> 	I also had to change testpoll.c again because the kqueue and epoll
> implementations will return their result set with a different order (but
> the same sockets will still come..)
> 
> Thanks,
> 
> -Paul Querna   
>