summaryrefslogtreecommitdiff
path: root/proxy.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-06-09 22:48:14 -0700
committerdormando <dormando@rydia.net>2022-07-24 23:02:50 -0700
commita53d760f2b011730f0d15b878e12e2e80bf87ba1 (patch)
treed8ad69a50724e0ac628efd982df8a3dd1947c059 /proxy.h
parentd273bd2063ac3e3171e8c74d0a8557102429a3f2 (diff)
downloadmemcached-a53d760f2b011730f0d15b878e12e2e80bf87ba1.tar.gz
proxy: fix uring mode
well I tested it a few times during the code split PR, but apparently not with the final PR. This updates the API and also fixes some compilation issues. There will still be bugs until I reorganize the sqe/cqe lifecycle but it can still be tested.
Diffstat (limited to 'proxy.h')
-rw-r--r--proxy.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/proxy.h b/proxy.h
index 4d88867..109ac6e 100644
--- a/proxy.h
+++ b/proxy.h
@@ -154,11 +154,7 @@ typedef struct {
bool set; // NOTE: not sure if necessary if code structured properly
} proxy_event_t;
-static struct __kernel_timespec updater_ts = {.tv_sec = 3, .tv_nsec = 0};
-static void _proxy_evthr_evset_notifier(proxy_event_thread_t *t);
-static void _proxy_evthr_evset_clock(proxy_event_thread_t *t);
-static void *proxy_event_thread_ur(void *arg);
-static void proxy_event_updater_ur(void *udata, struct io_uring_cqe *cqe);
+void *proxy_event_thread_ur(void *arg);
#endif
// Note: This ends up wasting a few counters, but simplifies the rest of the