mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-21 03:10:56 +08:00
youhua
This commit is contained in:
3
server.c
3
server.c
@@ -609,10 +609,11 @@ static void accept_timer(void *p) {
|
|||||||
pthread_kill(thread, SIGQUIT);
|
pthread_kill(thread, SIGQUIT);
|
||||||
puts("Kill thread");
|
puts("Kill thread");
|
||||||
}
|
}
|
||||||
goto TIMER_SLEEP;
|
break;
|
||||||
}
|
}
|
||||||
sleep(MAXWAITSEC / 4);
|
sleep(MAXWAITSEC / 4);
|
||||||
}
|
}
|
||||||
|
goto TIMER_SLEEP;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cleanup_thread(thread_timer_t* timer) {
|
static void cleanup_thread(thread_timer_t* timer) {
|
||||||
|
|||||||
Reference in New Issue
Block a user