diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-01-19 13:24:52 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-01-19 13:24:52 +0100 |
commit | 22d8be1cf59804a8c39881e06da8f96f203304bc (patch) | |
tree | 1b21a7e20e8adf9eed7cfeb6cec2c3ce78031fb7 /server/mpm_fdqueue.h | |
parent | mpm_fdqueue: follow up to r1821624. (diff) | |
download | apache2-22d8be1cf59804a8c39881e06da8f96f203304bc.tar.xz apache2-22d8be1cf59804a8c39881e06da8f96f203304bc.zip |
mpm_fdqueue: follow up to r1821624.
Prepare mpm_worker to use common fdqueue.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821635 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_fdqueue.h')
-rw-r--r-- | server/mpm_fdqueue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/mpm_fdqueue.h b/server/mpm_fdqueue.h index b68b9223c4..9bbe5e5366 100644 --- a/server/mpm_fdqueue.h +++ b/server/mpm_fdqueue.h @@ -92,6 +92,8 @@ apr_status_t ap_queue_push_timer(fd_queue_t *queue, timer_event_t *te); apr_status_t ap_queue_pop_something(fd_queue_t *queue, apr_socket_t **sd, void **baton, apr_pool_t **p, timer_event_t **te); +#define ap_queue_pop(q_, s_, p_) \ + ap_queue_pop_something((q_), (s_), NULL, (p_), NULL) apr_status_t ap_queue_interrupt_all(fd_queue_t *queue); apr_status_t ap_queue_interrupt_one(fd_queue_t *queue); apr_status_t ap_queue_term(fd_queue_t *queue); |