summaryrefslogtreecommitdiff
path: root/include/apr_poll.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2009-03-01 02:22:38 +0000
committerJeff Trawick <trawick@apache.org>2009-03-01 02:22:38 +0000
commit6f7bccf0450a11eaeacadc76c9c0cd51bb341eb2 (patch)
tree84fb2edb174e20ff94a4505a7c18f4f16259ab94 /include/apr_poll.h
parentfcc997a868794a68bfe814cd421b7ccab2205780 (diff)
downloadapr-6f7bccf0450a11eaeacadc76c9c0cd51bb341eb2.tar.gz
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
Diffstat (limited to 'include/apr_poll.h')
-rw-r--r--include/apr_poll.h3
1 files changed, 3 insertions, 0 deletions
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,