From 1dd1a9a5811974341085c705a9d8ccb70386904c Mon Sep 17 00:00:00 2001 From: John Sanpe Date: Thu, 29 Feb 2024 23:56:26 +0800 Subject: [PATCH] refactor timer: moved to event framework Signed-off-by: John Sanpe --- CMakeLists.txt | 2 +- src/{core => event}/xdbd_timer.c | 0 src/{core => event}/xdbd_timer.h | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename src/{core => event}/xdbd_timer.c (100%) rename src/{core => event}/xdbd_timer.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd5cadc..1e8dea9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,9 +19,9 @@ set(SRCS ${PROJECT_SOURCE_DIR}/src/connection/connection.c ${PROJECT_SOURCE_DIR}/src/core/xdbd_buf.c ${PROJECT_SOURCE_DIR}/src/core/xdbd_pool.c - ${PROJECT_SOURCE_DIR}/src/core/xdbd_timer.c ${PROJECT_SOURCE_DIR}/src/event/select/xdbd_select.c ${PROJECT_SOURCE_DIR}/src/event/xdbd_event.c + ${PROJECT_SOURCE_DIR}/src/event/xdbd_timer.c ${PROJECT_SOURCE_DIR}/src/xdbd.c ) diff --git a/src/core/xdbd_timer.c b/src/event/xdbd_timer.c similarity index 100% rename from src/core/xdbd_timer.c rename to src/event/xdbd_timer.c diff --git a/src/core/xdbd_timer.h b/src/event/xdbd_timer.h similarity index 100% rename from src/core/xdbd_timer.h rename to src/event/xdbd_timer.h