log管理器内存分配池化,修复部分log写入部分与内存池部分存在的恶性bug

This commit is contained in:
2026-02-21 15:04:04 +08:00
parent b618cc359a
commit d81a3c8042
16 changed files with 189 additions and 277 deletions

View File

@ -2,9 +2,10 @@
#define SEVERCONFG
/*------日志管理---------*/
#define MAX_LOG 64
#define MAX_LOG 50
#define MAX_LOG_LENGTH 4080
#define INFO_LENGTH 8
#define LOG_SLEEP_LENGTH 1
/*------日志管理---------*/
/*-------终端管理-------*/
@ -25,8 +26,8 @@
/*------解释器管理-------*/
/*------内存池管理------*/
#define MAX_MEM_SIZE 256
#define COMINE_MEM_SIZE 192
#define MAX_MEM_SIZE 512
#define COMINE_MEM_SIZE 448
#define MEM_BLOCK_SIZE 4096
#define POOL_EXPEND_ID 3
#define POOL_EXPEND_SIZE 4