优化退出信号传递流程

This commit is contained in:
2025-09-28 14:26:09 +08:00
parent a0ccc964bc
commit afe70e6d17
10 changed files with 48 additions and 7 deletions

View File

@ -151,6 +151,7 @@ int exce(const int command,ctx *all_ctx)
case QUIT:
printf("shuting down\n");
all_ctx->statue = -1;
write(all_ctx->fifofd[1],"q",1);
return 1;
}