summaryrefslogtreecommitdiffstats
path: root/server/mpm_fdqueue.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-01-19 14:46:28 +0100
committerYann Ylavic <ylavic@apache.org>2018-01-19 14:46:28 +0100
commit41ca9b3d01353caf7e0fbea499df071a4d52f387 (patch)
tree7f1f160c4f42c102db4cf6a5abf23458ae2f72c6 /server/mpm_fdqueue.h
parentmpm_worker: follow up to r1821624. (diff)
downloadapache2-41ca9b3d01353caf7e0fbea499df071a4d52f387.tar.xz
apache2-41ca9b3d01353caf7e0fbea499df071a4d52f387.zip
mpm_fdqueue: follow up to r1821624.
Be explicit in the naming about what's push/pop-ed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_fdqueue.h')
-rw-r--r--server/mpm_fdqueue.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/mpm_fdqueue.h b/server/mpm_fdqueue.h
index 2544bba044..f454e7bd0c 100644
--- a/server/mpm_fdqueue.h
+++ b/server/mpm_fdqueue.h
@@ -86,15 +86,15 @@ void ap_pop_pool(apr_pool_t **recycled_pool, fd_queue_info_t *queue_info);
void ap_push_pool(fd_queue_info_t *queue_info, apr_pool_t *pool_to_recycle);
void ap_free_idle_pools(fd_queue_info_t *queue_info);
-apr_status_t ap_queue_init(fd_queue_t *queue, int queue_capacity,
- apr_pool_t *a);
-apr_status_t ap_queue_push(fd_queue_t *queue, apr_socket_t *sd,
- void *baton, apr_pool_t *p);
+apr_status_t ap_queue_init(fd_queue_t *queue, int capacity, apr_pool_t *p);
+apr_status_t ap_queue_push_socket(fd_queue_t *queue,
+ apr_socket_t *sd, void *sd_baton,
+ apr_pool_t *p);
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_) \
+apr_status_t ap_queue_pop_something(fd_queue_t *queue,
+ apr_socket_t **sd, void **sd_baton,
+ apr_pool_t **p, timer_event_t **te);
+#define ap_queue_pop_socket(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);