Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Pthread 互斥锁不是异步信号安全的。这是什么意思?
这意味着您不能从信号处理程序内部做任何涉及互斥锁的事情。(从技术上讲,仅适用于异步信号,但所有同步信号都适用于诸如“那个指针不指向任何东西,我现在要杀死你的进程”之类的东西,所以它没有实际意义。)