summaryrefslogtreecommitdiff
path: root/memcached.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2021-07-28 18:09:21 -0700
committerdormando <dormando@rydia.net>2021-08-09 17:09:08 -0700
commit331dca5d644edefd99893c44827bdf2ca72f85be (patch)
treef3c51c0e55ef1b55435df715bf47a0899fd5fbd5 /memcached.h
parente52734366c94475db33d3239f48b4542ec2d9c2f (diff)
downloadmemcached-331dca5d644edefd99893c44827bdf2ca72f85be.tar.gz
thread: per-worker-thread connection event queues
help scalability a bit by having a per-worker-thread freelist and queue for connection event items (new conns, etc). Also removes a hand-rolled linked list and uses cache.c for freelist handling to cull some redundancy.
Diffstat (limited to 'memcached.h')
-rw-r--r--memcached.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcached.h b/memcached.h
index 739c939..4c91560 100644
--- a/memcached.h
+++ b/memcached.h
@@ -629,7 +629,7 @@ typedef struct {
int notify_receive_fd; /* receiving end of notify pipe */
int notify_send_fd; /* sending end of notify pipe */
struct thread_stats stats; /* Stats generated by this thread */
- struct conn_queue *new_conn_queue; /* queue of new connections to handle */
+ struct conn_queue *ev_queue; /* Worker/conn event queue */
cache_t *rbuf_cache; /* static-sized read buffers */
mc_resp_bundle *open_bundle;
cache_t *io_cache; /* IO objects */