remove useless code

This commit is contained in:
lnk
2025-12-11 09:26:08 +08:00
parent e615188bb1
commit 7dbd4593fa

View File

@@ -35,7 +35,7 @@ typedef struct {
#endif
extern int INITFLAG;//̨<>˵ȳ<CBB5>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ɱ<EFBFBD>־
extern void cleanup_args(ThreadArgs* args);
//extern void cleanup_args(ThreadArgs* args);
void init_daemon(void)
{
@@ -312,10 +312,7 @@ void restart_thread(int index) {
}
} else {
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD><DFB3>ݲ<EFBFBD><DDB2><EFBFBD><EFBFBD><EFBFBD>
pthread_mutex_lock(&global_lock);
printf("Thread %d is not configured for restart\n", index);
thread_info[index].state = THREAD_CRASHED;
pthread_mutex_unlock(&global_lock);
}
/*// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD>