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
>