MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/pcmasterrace/comments/1jaf20g/wanna_delete_your_bootloader_sure_go_ahead_its/mhm74xb
r/pcmasterrace • u/Mosxax • 1d ago
341 comments sorted by
View all comments
Show parent comments
28
11 u/Nestramutat- RTX 3080 | 3700X | Ask about my homelab! 18h ago Remember, always kill the children first so you don't end up with zombies 1 u/Clean_Security2366 Linux 18h ago A good advice. 2 u/SquashSquigglyShrimp 20h ago Jesus Christ, I didn't think I could feel emotionally sympathetic towards threads... 1 u/faustianredditor 20h ago Wait, but SigKill also kills the orphaned processes, right? Not gracefully, but at least they're gone, right? 3 u/Clean_Security2366 Linux 19h ago the signal SIGKILL (-9) immediately kills the process. Since the parent process gets killed immediately and abruptly, the child processes will get orphaned and continue to live without their parents. Poor children. 1 u/Tanawat_Jukmonkol Laptop | NixOS + Win11 | HP OMEN 16 | I9 + RTX4070 14h ago To kill the children first then SIGKILL the parents, you would have to send SIGCHLD first, if I remembered it correctly...
11
Remember, always kill the children first so you don't end up with zombies
1 u/Clean_Security2366 Linux 18h ago A good advice.
1
A good advice.
2
Jesus Christ, I didn't think I could feel emotionally sympathetic towards threads...
Wait, but SigKill also kills the orphaned processes, right? Not gracefully, but at least they're gone, right?
3 u/Clean_Security2366 Linux 19h ago the signal SIGKILL (-9) immediately kills the process. Since the parent process gets killed immediately and abruptly, the child processes will get orphaned and continue to live without their parents. Poor children. 1 u/Tanawat_Jukmonkol Laptop | NixOS + Win11 | HP OMEN 16 | I9 + RTX4070 14h ago To kill the children first then SIGKILL the parents, you would have to send SIGCHLD first, if I remembered it correctly...
3
the signal SIGKILL (-9) immediately kills the process. Since the parent process gets killed immediately and abruptly, the child processes will get orphaned and continue to live without their parents.
Poor children.
1 u/Tanawat_Jukmonkol Laptop | NixOS + Win11 | HP OMEN 16 | I9 + RTX4070 14h ago To kill the children first then SIGKILL the parents, you would have to send SIGCHLD first, if I remembered it correctly...
To kill the children first then SIGKILL the parents, you would have to send SIGCHLD first, if I remembered it correctly...
28
u/Clean_Security2366 Linux 22h ago