mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-26 19:41:35 +08:00
Merge pull request #3631 from godsarmy/3612-sigkill_comment
Fix comment of signalAllProcesses for process wait due to sigkill
This commit is contained in:
@@ -522,7 +522,8 @@ func isWaitable(pid int) (bool, error) {
|
||||
|
||||
// signalAllProcesses freezes then iterates over all the processes inside the
|
||||
// manager's cgroups sending the signal s to them.
|
||||
// If s is SIGKILL then it will wait for each process to exit.
|
||||
// If s is SIGKILL and subreaper is not enabled then it will wait for each
|
||||
// process to exit.
|
||||
// For all other signals it will check if the process is ready to report its
|
||||
// exit status and only if it is will a wait be performed.
|
||||
func signalAllProcesses(m cgroups.Manager, s os.Signal) error {
|
||||
|
Reference in New Issue
Block a user