Modify CPU inheritance feature 99/292899/1
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 17 May 2023 00:15:34 +0000 (00:15 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 17 May 2023 00:20:43 +0000 (00:20 +0000)
commit647b3524528e9da754b62eca8effd0b45260fed8
tree1d3c6b9c041171b2a99173b99f106aee2a985d65
parente2bd46e30ac6ed996ba70f689b726c01fd7c2404
Modify CPU inheritance feature

If the request is APP_SEND_LAUNCH_REQUEST or APP_SEND_RESUME_REQUEST,
the cpu inheritance should continue until the result event is received.
This patch separates the cpu inheritance class from the aul sock code.
The class is added to the ErrorInfo to inherit the CPU boosting.

Change-Id: Ife5c6a07957af7c8fbcbda51701b150b656a6c56
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/aul_sock.cc
src/cpu_inheritance.cc [new file with mode: 0644]
src/cpu_inheritance.hh [new file with mode: 0644]
src/launch_with_result.cc