Something went wrong. Try again.
Reactos
Something went wrong. Try again.
[TASKKILL] Simplify children processes termination code (#7855) master
Use process-tree Level-Order-Traversal to determine the children processes to be terminated. This avoids using recursion to establish the process tree, and also allows termination in a fashion similar to Windows' taskkill. The main difference with the latter is that we terminate parent processes first before terminating their children, instead of doing the reverse. (This allows avoiding the case where parent processes respawn their children when they have been terminated.)
Author Hermès Bélusca-Maïto Date (Apr 8, 2025, 1:42 PM UTC) Commit 94a650cd 94a650cdf7e00656d11fc8466083d3500fa25a9f Parent 1519a676 1519a676bde34ceb591524615a82172742c3c4ac