| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.1.x@190596 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
APR_POLLSET_THREADSAFE.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106171 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
No functional changes
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Submitted by: Garrett Rooney
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63885 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63800 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
numbers of file descriptors
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63755 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
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
|
|
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
|