02 2025 档案

摘要:io_uring.c #include <stdio.h> #include <liburing.h> #include <netinet/in.h> #include <string.h> #include <unistd.h> // 定义事件类型 #define EVENT_ACCEPT 0 / 阅读全文
posted @ 2025-02-25 00:18 nakejimamiyuki 阅读(3) 评论(0) 推荐(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 阅读全文
posted @ 2025-02-25 00:15 nakejimamiyuki 阅读(3) 评论(0) 推荐(0) 编辑
摘要:kvstore.c #include "kvstore.h" // 包含键值存储相关的头文件,可能定义了数据结构和接口 // 根据编译选项启用不同的数据结构 #if ENABLE_ARRAY extern kvs_array_t global_array; // 声明全局数组类型的键值存储 #end 阅读全文
posted @ 2025-02-25 00:12 nakejimamiyuki 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示