处于 "D" 状态(或 TASK_UNINTERRUPTIBLE)的进程的信号会怎样?
What happens to a signal for a process in "D" state (or TASK_UNINTERRUPTIBLE)?
处于 "D" 状态(或 TASK_UNINTERRUPTIBLE)的进程的信号(例如 SIGALRM)会发生什么情况?
当进程退出 "D" 状态时,它们是被忽略还是被延迟?
你能指出内核源代码中的相应行吗?
谢谢。
TASK_UNINTERRUPTIBLE: The proccess is waiting on certain special cases of event, such as completion of of a disk I/O. If signal is generated (including SIGSTOP and SIGKILL) for a process in this state, then the signal is not delivered until the process emerges from this state.
处于 "D" 状态(或 TASK_UNINTERRUPTIBLE)的进程的信号(例如 SIGALRM)会发生什么情况?
当进程退出 "D" 状态时,它们是被忽略还是被延迟?
你能指出内核源代码中的相应行吗?
谢谢。
TASK_UNINTERRUPTIBLE: The proccess is waiting on certain special cases of event, such as completion of of a disk I/O. If signal is generated (including SIGSTOP and SIGKILL) for a process in this state, then the signal is not delivered until the process emerges from this state.