mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +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
Notes:
sideshowbarker
2024-07-19 02:06:45 +09:00
Author: https://github.com/alimpfard
Commit: 519d1811fd
Pull-request: https://github.com/SerenityOS/serenity/pull/3647
Issue: https://github.com/SerenityOS/serenity/issues/3645
Reviewed-by: https://github.com/tomuta
4 changed files with 68 additions and 38 deletions
|
@ -52,7 +52,8 @@ public:
|
|||
#ifdef JOB_TIME_INFO
|
||||
if (m_active) {
|
||||
auto elapsed = m_command_timer.elapsed();
|
||||
dbg() << "Command \"" << m_cmd << "\" finished in " << elapsed << " ms";
|
||||
// Don't mistake this for the command!
|
||||
dbg() << "Job entry \"" << m_cmd << "\" deleted in " << elapsed << " ms";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue