From 6f7bccf0450a11eaeacadc76c9c0cd51bb341eb2 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Sun, 1 Mar 2009 02:22:38 +0000 Subject: Allow the kqueue pollset implementation to support checking both APR_POLLIN and APR_POLLOUT for the same descriptor. This requires separate kevent structures for both conditions. Importantly, if both conditions are present, they will be returned in separate apr_pollfd_t structures with this implementation (to avoid the cycles to coalesce into the minimal number of structures). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@748951 13f79535-47bb-0310-9956-ffa450edef68 --- include/apr_poll.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/apr_poll.h') diff --git a/include/apr_poll.h b/include/apr_poll.h index 778f79c98..c0f4025f6 100644 --- a/include/apr_poll.h +++ b/include/apr_poll.h @@ -241,6 +241,9 @@ APR_DECLARE(apr_status_t) apr_pollset_remove(apr_pollset_t *pollset, * APR_POLLSET_WAKEABLE, apr_pollset_wakeup() has been called while * waiting for activity, and there were no signalled descriptors at the * time of the wakeup call. + * @remark Multiple signalled conditions for the same descriptor may be reported + * in one or more returned apr_pollfd_t structures, depending on the + * implementation. */ APR_DECLARE(apr_status_t) apr_pollset_poll(apr_pollset_t *pollset, apr_interval_time_t timeout, -- cgit v1.2.1