修改网络监听退出流程

This commit is contained in:
2025-09-29 16:50:51 +08:00
parent 8c52e4ba84
commit ef6acafd34
6 changed files with 48 additions and 9 deletions

View File

@ -98,9 +98,9 @@ void log_manager_stop(log_manager *self)
pthread_mutex_lock(&self->mtx);
self->stop = 1; /* 置退出标志 */
pthread_cond_broadcast(&self->cond); /* 唤醒所有等待线程 */
printf("stopping loger\n");
printf("SYS:stopping loger\n");
pthread_mutex_unlock(&self->mtx);
printf("done\n");
printf("SYS:done\n");
}
//定期清理函数