摘要:
io_uring.c #include <stdio.h> #include <liburing.h> #include <netinet/in.h> #include <string.h> #include <unistd.h> // 定义事件类型 #define EVENT_ACCEPT 0 / 阅读全文
摘要:
reactor.c #include <errno.h> #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <string.h> #include <pthread.h> #include <uni 阅读全文
摘要:
kvstore.c #include "kvstore.h" // 包含键值存储相关的头文件,可能定义了数据结构和接口 // 根据编译选项启用不同的数据结构 #if ENABLE_ARRAY extern kvs_array_t global_array; // 声明全局数组类型的键值存储 #end 阅读全文