| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1860159 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1819935 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1819934 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This test is redundant now, axe it (no functional change).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1819861 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
pollset and handling the dead ring, all is simple/fast/nonblocking ops.
Also, set types of "i" and "j" respectively to the ones of nget and *num.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1819860 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Just like user fds (file, socket), otherwise it's one shot only (PR-61786).
Corresponding test committed in r1819857.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1819858 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
poll/unix/poll/*.c: Constify all apr_pollcb_provider_t and
apr_pollset_provider_t structures.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1805380 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The underlying syscall sanity checks some fields we don't later specify,
possibly even some fields that are n/a for a cancel operation,
which may result in a cancel call failing.
outstanding aysnc I/O requests are cancelled when the fd is closed,
but with very long-lived sockets, failing cancels could result
in elevated CPU during BP4XAIO of type select or cancel.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1759009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
number of descriptors/events, before the returned descriptors are actually
initialized.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1755758 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
The UNIX socket is SOCK_DGRAM, so draining the pipe is another read()..
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1755746 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Don't return APR_EINTR (woken up) unless we actually read something on the
wakeup pipe (which we must drain), and also return APR_SUCCESS if at least
some other event is available simultaneously.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1755740 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
would try to zap a random/garbage message queue identifier. In httpd,
this could happen with e.g. mod_cgi's short-lived, non-threadsafe
pollset.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1750374 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
comparison); Clarify expression with parentheses.
PR59582
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1744600 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
and the real event if a real event occurs AND apr_pollset_wakeup()
is called before apr_pollset_poll() is called and/or awakened.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1671513 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(APR_SUCCESS was returned instead in that scenario.)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1671389 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1667915 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1667914 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1666341 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Submitted By: Pat Odonnell <patod us ibm com>
Committed By: covener
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1646891 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1441742 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1438959 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1437607 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1437109 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
* reset the state to ASIO_INIT after finding something that wasn't apr_pollset_remove'd on the prior ready ring
thanks to Pat O'Donnell / IBM for debugging assistance
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1436667 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
cancelling async i/o. this fixes a leak
in USS for every keepalive timeout combined with CPU growth on the httpd listener thread
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1434976 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
* in apr_pollset_remove, don't cancel async i/o if it has already completed
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1434971 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1434941 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
that set it
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1434929 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1434858 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
email to the spammers
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1430410 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
poll/unix/pollcb.c: In function 'pollcb_provider':
poll/unix/pollcb.c:47:5: warning: enumeration value 'APR_POLLSET_AIO_MSGQ' not handled in switch
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1372197 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
IPC message queue. Create a configure test for that combo and test it
elsewhere.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1325944 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308950 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308938 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
found an aio.h header file. add a test for the intended platform too.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308923 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
no support for apr_pollcb yet.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1308910 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1089528 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
descriptors.
PR: 49882
Patch for one situation submitted by: Stefan Ruppert <sr myarm.com>
Extended by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1089433 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(icc complains, I sympathize)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1086692 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
instead of just inserting a return at the top
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@987639 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
PR: 49094
Submitted by: Sami Tolvanen <sami.tolvanen mywot.com>
Reviewed by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@933271 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
pipe when the pollset was created with APR_POLLSET_NOCOPY
Submitted by: Neil Conway <nrc cs.berkeley.edu>
Reviewed by: trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@932585 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
or similar, this is just a wrapper for a pollset.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@923329 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
non-wakeable pollset.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@923320 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Also adds stubs for apr_poll_method_defname() and apr_pollset_method_name().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@923311 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
* create_wakeup_pipe()
* close_wakeup_pipe()
* drain_wakeup_pipe()
use generic apr_poll_ since these are used from both apr_pollset_ and
apr_pollcb_
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@902090 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@902077 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@901088 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_pollset_wakeup(). Along the way, refactor the code for
creating/managing the wakeup pipe to a separate file, wakeup.c
* Add apr_pollcb_method_name(), with similar behavior to
apr_pollset_method_name()
* Add minimal unit tests for apr_pollset_wakeup() and apr_pollcb_wakeup()
apr_pollcb_wakeup() is supported with all the poll methods supported
by pollcb (kqueue, epoll, poll, and event ports).
Submitted by: Neil Conway <nrc@cs.berkeley.edu>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@899905 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@892718 13f79535-47bb-0310-9956-ffa450edef68
|