|
Apache HTTPD
|
#include "testutil.h"#include "apr_strings.h"#include "apr_errno.h"#include "apr_general.h"#include "apr_lib.h"#include "apr_network_io.h"#include "apr_poll.h"Go to the source code of this file.
Classes | |
| struct | pollcb_baton_t |
Macros | |
| #define | HAVE_EPOLL_WAIT_RELIABLE_TIMEOUT 0 |
| #define | SMALL_NUM_SOCKETS 3 |
| #define | LARGE_NUM_SOCKETS 50 |
| #define | POLLCB_PREREQ |
| #define | JUSTSLEEP_DELAY apr_time_from_msec(200) |
| #define | JUSTSLEEP_JIFFY apr_time_from_msec(10) |
| #define | JUSTSLEEP_ENOUGH(ts, te) ((te) - (ts) >= JUSTSLEEP_DELAY - JUSTSLEEP_JIFFY) |
Typedefs | |
| typedef struct pollcb_baton_t | pollcb_baton_t |
Variables | |
| static apr_socket_t * | s [50] |
| static apr_sockaddr_t * | sa [50] |
| static apr_pollset_t * | pollset |
| static apr_pollcb_t * | pollcb |
| static int | default_pollset_impl = APR_POLLSET_DEFAULT |
| #define HAVE_EPOLL_WAIT_RELIABLE_TIMEOUT 0 |
Definition at line 29 of file testpoll.c.
| #define JUSTSLEEP_DELAY apr_time_from_msec(200) |
Definition at line 864 of file testpoll.c.
| #define JUSTSLEEP_ENOUGH | ( | ts, | |
| te | |||
| ) | ((te) - (ts) >= JUSTSLEEP_DELAY - JUSTSLEEP_JIFFY) |
Definition at line 870 of file testpoll.c.
| #define JUSTSLEEP_JIFFY apr_time_from_msec(10) |
Definition at line 869 of file testpoll.c.
| #define LARGE_NUM_SOCKETS 50 |
Definition at line 37 of file testpoll.c.
| #define POLLCB_PREREQ |
Definition at line 577 of file testpoll.c.
| #define SMALL_NUM_SOCKETS 3 |
Definition at line 32 of file testpoll.c.
< Can read without blocking
Definition at line 361 of file testpoll.c.
Definition at line 475 of file testpoll.c.
Definition at line 444 of file testpoll.c.
Definition at line 489 of file testpoll.c.
Definition at line 128 of file testpoll.c.
Definition at line 874 of file testpoll.c.
|
static |
Definition at line 57 of file testpoll.c.
< Can read without blocking
< Can write without blocking
< Can read without blocking
< Can write without blocking
< Can read without blocking
< Can write without blocking
< Can write without blocking
Definition at line 307 of file testpoll.c.
Definition at line 380 of file testpoll.c.
< Do not try to use the default method if * the specified non-default method cannot be * used
< Do not try to use the default method if * the specified non-default method cannot be * used
Definition at line 727 of file testpoll.c.
< Poll operations are interruptable by * apr_pollset_wakeup() or apr_pollcb_wakeup()
Definition at line 843 of file testpoll.c.
< Do not try to use the default method if * the specified non-default method cannot be * used
< Do not try to use the default method if * the specified non-default method cannot be * used
Definition at line 683 of file testpoll.c.
< Can write without blocking
Definition at line 500 of file testpoll.c.
< Poll operations are interruptable by * apr_pollset_wakeup() or apr_pollcb_wakeup()
< Can read without blocking
Definition at line 786 of file testpoll.c.
Definition at line 408 of file testpoll.c.
|
static |
Definition at line 109 of file testpoll.c.
Definition at line 392 of file testpoll.c.
Definition at line 459 of file testpoll.c.
Definition at line 421 of file testpoll.c.
|
static |
Definition at line 96 of file testpoll.c.
Definition at line 585 of file testpoll.c.
Definition at line 299 of file testpoll.c.
| abts_suite * testpoll | ( | abts_suite * | suite | ) |
Definition at line 936 of file testpoll.c.
Definition at line 639 of file testpoll.c.
< Can read without blocking
Definition at line 654 of file testpoll.c.
< Can read without blocking
Definition at line 612 of file testpoll.c.
|
static |
Definition at line 603 of file testpoll.c.
|
static |
Definition at line 835 of file testpoll.c.
|
static |
Definition at line 55 of file testpoll.c.
|
static |
Definition at line 42 of file testpoll.c.
|
static |
Definition at line 41 of file testpoll.c.
|
static |
Definition at line 39 of file testpoll.c.
|
static |
Definition at line 40 of file testpoll.c.