Add SIGUSR1 signal handler 65/300165/3
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 18 Oct 2023 00:03:48 +0000 (09:03 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 18 Oct 2023 00:21:15 +0000 (09:21 +0900)
commitb880098d392930039c6f4cb076ef9750d5868791
tree8e33875119311bfacb2d2f4dcb4daa50bce223df
parent997cc951cbe954bd7fc264edea1f78e2fc0bd39c
Add SIGUSR1 signal handler

Currently, the launchpad-process-pool suddenly gets the SIGUSR1 signal.
To debug the reason, the SIGUSR1 signal handler is added.
While getting the signal, the launchpad-process-pool prints the sender
pid and the backtrace.

Change-Id: I842e374b836b83a635722baafa628bea10f072d0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/signal_manager.cc
src/launchpad-process-pool/signal_manager.hh