apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: [PATCH] apr_pollset_poll() returns WSAEINVAL if no sockets are in the pollset
Date Wed, 27 Aug 2008 13:06:29 GMT
Justin Erenkrantz wrote:
> So, any objections to committing the following?  (If we're going to do
> 1.3.5, I'd like to see this backported too.)

For trunk you might add extra check for wakeup socket if
pollset was created with APR_POLLSET_WAKEABLE in which case
there is at least one socket in the pollset, but this one
is used only for interrupt operation.
In that case the check should be (pollset->nelts < 2)


View raw message