提交 8b625e45 编写于 作者: R Rich Felker

normal exit from timer thread should run dtors, restore cancel state

上级 c5168071
......@@ -40,7 +40,7 @@ static void timer_handler(int sig, siginfo_t *si, void *ctx)
if (!setjmp(jb) && si->si_code == SI_TIMER) {
pthread_cleanup_push(cleanup_fromsig, jb);
notify(val);
pthread_cleanup_pop(0);
pthread_cleanup_pop(1);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册