Joshua Ashton on Nostr: I am having a horrible time trying to make Gamescope's shutdown more robust. It ...
I am having a horrible time trying to make Gamescope's shutdown more robust.
It essentially needs to act as a subreaper that also kills all of it's children on death -- even if Gamescope crashes.
Why is that so damn hard and annoying to implement? I feel like I am missing something obvious.
I've tried signal handler stuff, a child watchdog process that kills all of it's children, but nothing seems perfectly robust.
What am I missing?
It essentially needs to act as a subreaper that also kills all of it's children on death -- even if Gamescope crashes.
Why is that so damn hard and annoying to implement? I feel like I am missing something obvious.
I've tried signal handler stuff, a child watchdog process that kills all of it's children, but nothing seems perfectly robust.
What am I missing?