summaryrefslogtreecommitdiff
path: root/include/apr_poll.h
diff options
context:
space:
mode:
authorPaul Querna <pquerna@apache.org>2004-11-20 00:28:19 +0000
committerPaul Querna <pquerna@apache.org>2004-11-20 00:28:19 +0000
commit576f5cac6ce6d039bf9a16571a1dce1c54e5e9a6 (patch)
tree1f18a66cdb44a6d4509ffb6ce5b62f9bb14d11a8 /include/apr_poll.h
parent75357e4b295a9e69d2f50bb0324c6a20a33d8ca7 (diff)
downloadapr-576f5cac6ce6d039bf9a16571a1dce1c54e5e9a6.tar.gz
This commit may break the win32 or netware builds because of the added files.
Added the APR_POLLSET_THREADSAFE flag for apr_pollset_create(). The flag is only supported by the KQueue or EPoll backends at this time. All others should return ENOTIMPL. Split poll/unix/poll.c into one file for each backend to better maintain them. Tested On: FreeBSD 5.2.1, Linux 2.6 and OS X 10.3.6. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@105905 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_poll.h')
-rw-r--r--include/apr_poll.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/apr_poll.h b/include/apr_poll.h
index cc8920824..0584b09f3 100644
--- a/include/apr_poll.h
+++ b/include/apr_poll.h
@@ -50,6 +50,11 @@ extern "C" {
#define APR_POLLHUP 0x020 /**< Hangup occurred */
#define APR_POLLNVAL 0x040 /**< Descriptior invalid */
+/**
+ * Pollset Flags
+ */
+#define APR_POLLSET_THREADSAFE 0x001 /**< Adding or Removing a Descriptor is thread safe */
+
/** Used in apr_pollfd_t to determine what the apr_descriptor is */
typedef enum {
APR_NO_DESC, /**< nothing here */