Searched hist:"19 ad0e8a" (Results 1 – 2 of 2) sorted by relevance
/openbmc/phosphor-debug-collector/ |
H A D | dump_manager.cpp | 19ad0e8a Fri Jun 26 05:22:01 CDT 2020 Alexander Filippov <a.filippov@yadro.com> Fix blocking SIGCHLD Unblocking the `SIGCHLD` signal before the child process completes prevents the `callback()` from being ever called. This commit makes the blocking `SIGCHLD` once for the whole main process life by moving the corresponding code block to the main(). Tested: `callback()` now called when the child process completes. Change-Id: I553c683e5dfcbc0b33c72aa2d7b394f689772966 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|
H A D | dump_manager_main.cpp | 19ad0e8a Fri Jun 26 05:22:01 CDT 2020 Alexander Filippov <a.filippov@yadro.com> Fix blocking SIGCHLD Unblocking the `SIGCHLD` signal before the child process completes prevents the `callback()` from being ever called. This commit makes the blocking `SIGCHLD` once for the whole main process life by moving the corresponding code block to the main(). Tested: `callback()` now called when the child process completes. Change-Id: I553c683e5dfcbc0b33c72aa2d7b394f689772966 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
|