Add CreateTaskQueue for early initialization 57/263457/2
authorDongHyun Song <dh81.song@samsung.com>
Fri, 3 Sep 2021 01:50:24 +0000 (10:50 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Fri, 3 Sep 2021 02:44:34 +0000 (11:44 +0900)
commit33436b7444ef580789097b0d826015ef13cfefe9
tree81777674f46ddfb52bfab712df9e87c271364af4
parent207d76b71c2323007d748f3d73b935b2b6d18b79
Add CreateTaskQueue for early initialization

This API will be used by global wrt-service (thread model)
This singleton TaskQueue instance should have smack label same as
pid's smack label.
After a service app is launched, this TaskQueue thread has app's
smack label. Then, smack violation might be happened.
Thus, to initialize early before app creation, this patch exposes
CreateTaskQueue() funtion for WebRuntime.

Change-Id: I108bed31dbf0dbd1b54a6781530b95618584b0f8
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
src/common/task-queue.cpp