Pthread 中的信号处理
pthreads
的 man
页面提到:
POSIX.1 also requires that threads share a range of other attributes
(i.e., these attributes are process-wide rather than per-thread):
...
- signal dispositions
...
“信号处置”是什么意思?
The man
page for pthreads
mentions:
POSIX.1 also requires that threads share a range of other attributes
(i.e., these attributes are process-wide rather than per-thread):
...
- signal dispositions
...
What do "signal dispositions" mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
信号处理是指传递信号时进程采取的操作。每个信号都有一个倾向。有默认值。
来自 signal(7):
I signal disposition is the action a process takes when a signal is delivered. Each signal has a disposition. There are defaults.
From signal(7):
信号的处置是指如何处理信号。
也可能存在调用信号处理程序时信号被屏蔽的问题,等等。
The disposition of a signal is how it is handled.
There can also be issues of signals masked while the signal handler is called, and so on.
这意味着 Unix 进程如何对信号做出反应。请参阅
signal(7)
。This means how Unix process reacts to signals. See
signal(7)
.