diff options
author | dormando <dormando@rydia.net> | 2021-07-29 16:29:22 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2021-08-09 17:09:08 -0700 |
commit | d89ecd3456138c226934ddcdde749e3ba90a45a7 (patch) | |
tree | 166dc6db7d2af4838d03fda65671b1dc9ea3b97c /memcached.h | |
parent | 331dca5d644edefd99893c44827bdf2ca72f85be (diff) | |
download | memcached-d89ecd3456138c226934ddcdde749e3ba90a45a7.tar.gz |
thread: unify worker notify interface
worker notification was a mix of reading data from pipe or examining a
an object queue stack. now it's all one interface. this is necessary to
switch signalling to eventfd or similar, since we won't have that pipe
to work with.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h index 4c91560..c475de0 100644 --- a/memcached.h +++ b/memcached.h @@ -883,6 +883,7 @@ extern int daemonize(int nochdir, int noclose); */ void memcached_thread_init(int nthreads, void *arg); void redispatch_conn(conn *c); +void timeout_conn(conn *c); void dispatch_conn_new(int sfd, enum conn_states init_state, int event_flags, int read_buffer_size, enum network_transport transport, void *ssl); void sidethread_conn_close(conn *c); |