Editing Quotes
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 763: | Line 763: | ||
* '''dr_jesus''': when a child dies and has NOT been daemonized (into a completely new process group), the child zombifies because the kernel needs to keep the child data structures around in case the parent wants to look at them to figure out why the child died <br/>'''dr_jesus''': ONLY WHEN the parent process calls wait() or a similar routine to extract that information does the kernel clean up the child data structures, since now the parent has them and can start poring over them to figure out what happened and what to do about it<br/>''' dr_jesus''': now the parent might not want to sit around all day waiting for its kids to die, so the kernel sends SIGCHLD to the parent so whatever the parent is doing can be interrupted and it can call wait() at that point to figure out 1) who died, and 2) what caused it<br/>'''dr_jesus''': so basically SIGCHLD is child protection services and the kids are suicidal<br/>'''dr_jesus''': and a zombie process is a foster kid with a big tattoo on its forehead saying EXIT CODE = 0xwhatever and cps keeps it around waiting for the deadbeat parent to show up and get the exit code | * '''dr_jesus''': when a child dies and has NOT been daemonized (into a completely new process group), the child zombifies because the kernel needs to keep the child data structures around in case the parent wants to look at them to figure out why the child died <br/>'''dr_jesus''': ONLY WHEN the parent process calls wait() or a similar routine to extract that information does the kernel clean up the child data structures, since now the parent has them and can start poring over them to figure out what happened and what to do about it<br/>''' dr_jesus''': now the parent might not want to sit around all day waiting for its kids to die, so the kernel sends SIGCHLD to the parent so whatever the parent is doing can be interrupted and it can call wait() at that point to figure out 1) who died, and 2) what caused it<br/>'''dr_jesus''': so basically SIGCHLD is child protection services and the kids are suicidal<br/>'''dr_jesus''': and a zombie process is a foster kid with a big tattoo on its forehead saying EXIT CODE = 0xwhatever and cps keeps it around waiting for the deadbeat parent to show up and get the exit code | ||
* '''rachel-''': no, when i'm 91, i'm gonna stick wine bottles up my ass | * '''rachel-''': no, when i'm 91, i'm gonna stick wine bottles up my ass |