apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject [PATCH] pollset_poll() improvements
Date Sun, 18 Jul 2004 21:41:07 GMT
	The attached patch removes the double for() loops in both the KQueue
and the 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   

[originally sent to httpd-dev on accident..]

Mime
View raw message