summaryrefslogtreecommitdiff
path: root/include/apr_poll.h
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-11-22 10:01:38 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-11-22 10:01:38 +0000
commita1aac99d3f7fdcddef464c71de316f6bdee2b156 (patch)
tree899574e2b214f19eb5bfd480a7f56bffb5bd5e92 /include/apr_poll.h
parent727180e9667c14ddac21e27418230b3992ff1a91 (diff)
downloadlibapr-a1aac99d3f7fdcddef464c71de316f6bdee2b156.tar.gz
* include/apr_poll.h (apr_pollset_create): Document
APR_POLLSET_THREADSAFE. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106171 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_poll.h')
-rw-r--r--include/apr_poll.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/apr_poll.h b/include/apr_poll.h
index 0584b09f3..bd3fd9ebb 100644
--- a/include/apr_poll.h
+++ b/include/apr_poll.h
@@ -95,8 +95,14 @@ typedef struct apr_pollset_t apr_pollset_t;
* @param pollset The pointer in which to return the newly created object
* @param size The maximum number of descriptors that this pollset can hold
* @param p The pool from which to allocate the pollset
- * @param flags Optional flags to modify the operation of the pollset
- * (reserved for future expansion)
+ * @param flags Optional flags to modify the operation of the pollset.
+ *
+ * @remark If flags equals APR_POLLSET_THREADSAFE, then a pollset is
+ * created on which it is safe to make concurrent calls to
+ * apr_pollset_add(), apr_pollset_remove() and apr_pollset_poll() from
+ * separate threads. This feature is only supported on some
+ * platforms; the apr_pollset_create() call will fail with
+ * APR_ENOTIMPL on platforms where it is not supported.
*/
APR_DECLARE(apr_status_t) apr_pollset_create(apr_pollset_t **pollset,
apr_uint32_t size,