apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r106171 - /apr/apr/trunk/include/apr_poll.h
Date Mon, 22 Nov 2004 10:01:39 GMT
Author: jorton
Date: Mon Nov 22 02:01:38 2004
New Revision: 106171

Modified:
   apr/apr/trunk/include/apr_poll.h
Log:
* include/apr_poll.h (apr_pollset_create): Document
APR_POLLSET_THREADSAFE.


Modified: apr/apr/trunk/include/apr_poll.h
Url: http://svn.apache.org/viewcvs/apr/apr/trunk/include/apr_poll.h?view=diff&rev=106171&p1=apr/apr/trunk/include/apr_poll.h&r1=106170&p2=apr/apr/trunk/include/apr_poll.h&r2=106171
==============================================================================
--- apr/apr/trunk/include/apr_poll.h	(original)
+++ apr/apr/trunk/include/apr_poll.h	Mon Nov 22 02:01:38 2004
@@ -95,8 +95,14 @@
  * @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,

Mime
View raw message