Handle SIGCHLD event for process-pool 89/303089/4
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 20 Dec 2023 02:23:18 +0000 (11:23 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 20 Dec 2023 03:15:03 +0000 (12:15 +0900)
commit4673d94e6c14bcefe819be579d7ac8a9f3098df4
tree83a25d667cd9fbaec3568ee7ee6302bccf46cc4e
parentc7b2118b1d44cf41fd6babd3620e1b85c01ac72f
Handle SIGCHLD event for process-pool

If the process pool is terminated, the launchpad should remove
the process information. And, if sending the request to the process pool
is failed, the launchpad must create a new process to execute an application.

Change-Id: I1d5096394593fe3db92fbd125f468bd9b73c498f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/app_executor.cc
src/launchpad-process-pool/app_executor.hh
src/launchpad-process-pool/launchpad.cc
src/launchpad-process-pool/loader_executor.cc
src/launchpad-process-pool/loader_executor.hh
src/launchpad-process-pool/loader_manager.cc
src/launchpad-process-pool/process_pool.cc
src/launchpad-process-pool/process_pool.hh