1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-08 03:50:25 +08:00

修复op上闪退

This commit is contained in:
fumiama
2021-02-23 23:06:28 +08:00
parent a25e292dcd
commit b5e76923a8

View File

@@ -288,6 +288,7 @@ void handle_quit(int signo) {
void acceptTimer(void *p) {
THREADTIMER *timer = timerPointerOf(p);
signal(SIGPIPE, handle_pipe);
while(*timer->thread && !pthread_kill(*timer->thread, 0)) {
sleep(MAXWAITSEC);
puts("Check accept status");