summaryrefslogtreecommitdiff
path: root/include/apr_poll.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices for 2005.jorton2005-06-141-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.1.x@190596 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_poll.h (apr_pollset_create): Documentjorton2004-11-221-2/+8
| | | | | | | APR_POLLSET_THREADSAFE. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106171 13f79535-47bb-0310-9956-ffa450edef68
* This commit may break the win32 or netware builds because of the added files.pquerna2004-11-201-0/+5
| | | | | | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/trunk@105905 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0jerenkrantz2004-02-131-49/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
* more doxygen cleanupianh2003-12-301-10/+4
| | | | | | | Submitted by: Sander Temme <sander at temme dot net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64852 13f79535-47bb-0310-9956-ffa450edef68
* Add back apr_poll as it shouldn't have been removed.dreid2003-11-211-0/+22
| | | | | | | | | | | | | apr_poll is only intended for quick polling. More complex setups should use the pollset structure that now exists. testpoll commit coming shortly to reflect the change and test the pollset code. Brian - can you make sure the OS/2 code is OK? git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64781 13f79535-47bb-0310-9956-ffa450edef68
* Remove the old/deprecated apr_poll interface.gstein2003-11-171-46/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * include/apr_poll.h: (apr_poll, apr_poll_setup, apr_poll_socket_add, apr_poll_socket_mask, apr_poll_socket_remove, apr_poll_socket_clear, apr_poll_revents_get): removed. these were deprecated a while back, in favor of the apr_pollset_t interfaces. * poll/os2/poll.c: removed. this implemented apr_poll() which was deprecated by the new apr_pollset_t interfaces. * poll/os/Makefile.in: remove reference to poll.lo * poll/unix/poll.c: - remove include of alloca.h; no longer needed (apr_poll): removed both implementations * poll/unix/pollacc.c: (apr_poll_setup, apr_poll_socket_add, apr_poll_socket_mask, apr_poll_socket_remove, apr_poll_socket_clear, apr_poll_revents_get): removed these deprecated functions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64757 13f79535-47bb-0310-9956-ffa450edef68
* Some functions in the interface had been marked @deprecated. Shift thosegstein2003-10-281-83/+25
| | | | | | | | to the end of the header, and eliminate their docco, to clarify their status as (not) part of the API. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64696 13f79535-47bb-0310-9956-ffa450edef68
* Rebalance our exposed headers such that everything is nested properlywrowe2003-03-051-8/+10
| | | | | | | | | | | | | | between extern "C" blocks and doxygen blocks, that we never include other headers within our own header's extern "C" block, that we always tag the entire file contents for doxygen (within the APR_HEADER_H only-once block), and generally clean up doxygen so that it is all consistent and generates respectable (although not yet 'great') results. Major TODO after 0.9.2 releases; fill in the apr.h APR_HAVE/APR_HAS and apr_type_t documentation!!! git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-011-1/+1
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* Go through doxygen output and remove as many errors and warnings as I could.jerenkrantz2002-11-101-26/+31
| | | | | | | | | | | No code changes. (Note removal of #define duplication in apr_poll.h/apr_network_io.h of the APR_POLL* values. This appears to have been an oversight and is now just in apr_poll.h) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
* Delete some invalid comments from the apr_pollset_destroy doc.stoddard2002-09-261-4/+0
| | | | | | | Submitted by: Garrett Rooney git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63885 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a comment to accurately reflect what the "clear" function doesbrianp2002-08-061-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63800 13f79535-47bb-0310-9956-ffa450edef68
* One more update to the pollset API before we start using itbrianp2002-08-041-1/+4
| | | | | | | | | | | | | | | in the httpd: add a "flags" argument to apr_pollset_create(). When we add support for OS-specific poll alternatives in the future, I anticipate that we'll need to give apps a way to pass hints to the pollset create function to help it pick the best mechanism for a specific pollset. (E.g., there may be situations where we'll want to use poll(2) even if the OS has /dev/poll.) This "flags" argument is a placeholder to make it possible to add such hints later. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63790 13f79535-47bb-0310-9956-ffa450edef68
* Added a "client data" void* to the poll API so that an appbrianp2002-08-021-0/+4
| | | | | | | | | can associate application context with each file descriptor (e.g., map each descriptor to the filter that should process that descriptor once it's signalled) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63772 13f79535-47bb-0310-9956-ffa450edef68
* Added general-purpose pollset API to handle arbitrarily largebrianp2002-08-011-0/+54
| | | | | | | numbers of file descriptors git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63755 13f79535-47bb-0310-9956-ffa450edef68
* get the new poll code to build on AIX, which for 32-bit builds has sometrawick2002-07-111-2/+2
| | | | | | | | extremely unfortunate macros in <sys/poll.h> that play with "events" and "revents" via #define git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63610 13f79535-47bb-0310-9956-ffa450edef68
* Reimplement apr_poll() on Unix. This improves performance by giving therbb2002-07-111-0/+227
user back control over the memory in the pollset. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63601 13f79535-47bb-0310-9956-ffa450edef68