提交 98e02144 编写于 作者: R Rich Felker

use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code

上级 5316d083
......@@ -25,7 +25,7 @@ void __pthread_unwind_next(struct __ptcb *cb)
}
}
syscall4(__NR_sigprocmask, SIG_BLOCK, (long)(uint64_t[1]){-1}, 0, 8);
syscall4(__NR_rt_sigprocmask, SIG_BLOCK, (long)(uint64_t[1]){-1},0,8);
if (!a_fetch_add(&libc.threads_minus_1, -1))
exit(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册