You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2022/01/27 14:20:36 UTC

svn commit: r1897549 - /apr/apr/trunk/include/apr_poll.h

Author: ylavic
Date: Thu Jan 27 14:20:36 2022
New Revision: 1897549

URL: http://svn.apache.org/viewvc?rev=1897549&view=rev
Log:
poll: Follow up to r1897521: Clarify what APR_POLLEXCL means.

This is to avoid the thundering herd issue when multiple threads/processes
poll on the same descriptor (usually listening/to-be-accept()ed descriptors).


Modified:
    apr/apr/trunk/include/apr_poll.h

Modified: apr/apr/trunk/include/apr_poll.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_poll.h?rev=1897549&r1=1897548&r2=1897549&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_poll.h (original)
+++ apr/apr/trunk/include/apr_poll.h Thu Jan 27 14:20:36 2022
@@ -52,7 +52,7 @@ extern "C" {
 #define APR_POLLERR   0x010     /**< Pending error */
 #define APR_POLLHUP   0x020     /**< Hangup occurred */
 #define APR_POLLNVAL  0x040     /**< Descriptor invalid */
-#define APR_POLLEXCL  0x080     /**< Exclusive */
+#define APR_POLLEXCL  0x080     /**< Exclusive wake up */
 /** @} */
 
 /**