修复日志缓存计数错误

This commit is contained in:
2025-09-30 07:43:13 +08:00
parent ef6acafd34
commit 69ce2eed50
2 changed files with 7 additions and 0 deletions

View File

@ -146,6 +146,10 @@ void *pth_module(void *args_p)
NULL};
execv("Run_pluhginmanager",args);
}
logs *pth_log = (logs*)malloc(sizeof(logs));
sprintf(pth_log->log,"PID:%lu launched python plugines\n",pmd->pthread_id);
logger->in_log(pth_log,logger);
//拉起python插件管理器
for(;;){
//线程池中,单个线程模型