Exclusive StartService when 2 apps are racing 16/298616/5 submit/tizen/20230922.160024
authorDongHyun Song <dh81.song@samsung.com>
Mon, 11 Sep 2023 14:19:55 +0000 (23:19 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Wed, 20 Sep 2023 09:15:04 +0000 (18:15 +0900)
commit5fcb8a5f26b570169c30dac98ba158a2763b0005
treee3e484c2c925e0dc6db4ee9233ef595a6572735e
parente8233bed30ac940cfcc06a2910cc844fcb357664
Exclusive StartService when 2 apps are racing

2 or more service apps are simultaneously running, there have been
some race condition issues.
 - crash, smack error

So, it needs to run service apps exclusively on the start()
function basis.

If previous app's start() is not done yet, then new request app
will be defered until done.

Change-Id: I6be232cb872e7edb074ffd8c7f1ac5f243333c11
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
wrt_app/service/service_manager.ts
wrt_app/service/service_runner.ts