Ensure task moved under mutex 57/297257/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 16 Aug 2023 02:53:46 +0000 (11:53 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 16 Aug 2023 03:38:58 +0000 (12:38 +0900)
commit0cae723c2c41ea0738de634014622ac89ea7b83f
tree4d50aec76f98575d2295e7395372a52c6d1cbfef
parent7cb0fb382aa92d11d20c4dc19b040c3406641cc8
Ensure task moved under mutex

There was some logical hole between remove-from-queue and insert-to-queue.
Between remove and insert, the task can be exist without not exist any queue.
If someone request RemoveTask during this timing, task will not be removed.

Change-Id: Ia21927258d483a43b563129a7338c0a88df723f3
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/system/common/async-task-manager-impl.cpp