You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Mladen Turk <mt...@apache.org> on 2009/02/11 18:20:34 UTC

[PATCH] Make pollsets and pollcb implementation selectable

Hi,
Before committing the code please review
cause it pretty large.

Added apr_pollset_create_ex
with method enum that can be used to choose
non-default poll method.
If not supported it will automatically choose
the default one (default is what's now platform specific)
unless APR_POLLSET_NODEFAULT is added to the flag param.
On linux poll test passes with either epoll, poll or select,
and on mac with kqueue, poll or select.

I think I didn't make any breakage.
(Well didn't test the port.c)


Regards
-- 
^(TM)