SagXD@lemm.ee to linuxmemes@lemmy.world · 2 months agoNo Mercyfiles.catbox.moeimagemessage-square162fedilinkarrow-up1904arrow-down171
arrow-up1833arrow-down1imageNo Mercyfiles.catbox.moeSagXD@lemm.ee to linuxmemes@lemmy.world · 2 months agomessage-square162fedilink
minus-squareCameronDev@programming.devlinkfedilinkarrow-up8·edit-22 months agoI think that should do it. I’ll try later today and report back. Of course, this risks getting into an even worse state, because if the parent later tries to correctly wait for its child, the call will hang. Edit: Will clean up the orphan/defunct process. If the parent ever tried to wait, they would either get ECHILD if there are no children, or it would block until a child exited. Will likely cause follow on issues - reaping someone elses children is generally frowned upon :D.
I think that should do it. I’ll try later today and report back.
Of course, this risks getting into an even worse state, because if the parent later tries to correctly wait for its child, the call will hang.
Edit: Will clean up the orphan/defunct process.
If the parent ever tried to wait, they would either get ECHILD if there are no children, or it would block until a child exited.
Will likely cause follow on issues - reaping someone elses children is generally frowned upon :D.