修复日志处理,优化磁盘io,优化退出流程

This commit is contained in:
2026-01-29 12:10:36 +08:00
parent 65115e1a74
commit ee596a654d
10 changed files with 183 additions and 51 deletions

View File

@ -8,12 +8,13 @@
typedef struct logs
{
char log[4096];
char log[MAX_LOG_LENGTH];
struct logs *next;
}logs;
typedef struct log_manager
{
pthread_t pid;
int (*in_log)(logs *,struct log_manager*);
logs* (*out_log)(struct log_manager*);
void *(*clear_log)(void*);