Modify loader management 26/291626/11
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 19 Apr 2023 09:54:36 +0000 (09:54 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 20 Apr 2023 04:38:38 +0000 (04:38 +0000)
commit1f85b028706e092d1f738e0dd90ebad2773a4c69
tree99918acb637dd7db55d5431fbc6b506a8107ff9c
parentbe085bf2fd2ce796f7bfaf081f75937fa55ad3e7
Modify loader management

The management policy for the loader process will be changed.
Loader processes will be created without checking the CPU threshold.
When an execution request is received, if a loader process is in
the ready state, the execution request will be held until the loader process is
ready and then forwarded to the loader process.

This patch was created with reference to the patch below:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/288190/

Change-Id: I1b9dbed0824e7b72d6a743d8c8a2b4b266fa741c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
18 files changed:
CMakeLists.txt
packaging/launchpad.spec
src/launchpad-process-pool/config.cc
src/launchpad-process-pool/config.hh
src/launchpad-process-pool/hydra_loader_context.cc
src/launchpad-process-pool/launchpad.cc
src/launchpad-process-pool/launchpad.hh
src/launchpad-process-pool/loader_context.cc
src/launchpad-process-pool/loader_context.hh
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/loader_manager.hh
src/launchpad-process-pool/sequencer.cc
src/launchpad-process-pool/sequencer.hh
src/lib/launchpad-common/CMakeLists.txt
src/lib/launchpad-common/cpu_boost_controller.cc [new file with mode: 0644]
src/lib/launchpad-common/cpu_boost_controller.hh [new file with mode: 0644]