remove useless code
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user