mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
Shell: Wait for *any* child to change state when receiving a SIGCHLD
This really just works around the core issue, which is that we have no reliable way to know exactly who raised the signal (yet). Fixes #3645, in a very weird (yet apparently standard) way.
This commit is contained in:
parent
a7828434c0
commit
519d1811fd
4 changed files with 68 additions and 38 deletions
|
@ -158,6 +158,8 @@ public:
|
|||
|
||||
bool read_single_line();
|
||||
|
||||
void notify_child_event();
|
||||
|
||||
struct termios termios;
|
||||
struct termios default_termios;
|
||||
bool was_interrupted { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue