[Common] Changes TaskQueue to thread_local storage duration 97/266297/1
authorPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Wed, 10 Nov 2021 09:31:08 +0000 (10:31 +0100)
committerPiotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
Wed, 10 Nov 2021 09:31:08 +0000 (10:31 +0100)
commit02d1db1a79bd548387eeee3a9911cbafe9d45768
tree2ce23a804c33b303cd42dcd11e801cf5d9b44aa5
parent122bae587fb3d4d1879f567baa97b72bdd6a1a5a
[Common] Changes TaskQueue to thread_local storage duration

This change is to prevent issues with accessing same TaskQueue object by
several threads in multi-thread service model introduced in Tizen 6.5.

Similar change -
https://review.tizen.org/gerrit/#/c/platform/core/api/webapi-plugins/+/263367/

[Verification] executed all automatic TCT - 100% passrate.

Change-Id: I0c8ac1d7ffe1a9fad08eda6e2129abf659cbe9db
src/common/task-queue.cpp