Add cancel callback feedback thread 74/284174/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 10 Nov 2022 09:00:21 +0000 (18:00 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Wed, 28 Dec 2022 08:16:40 +0000 (17:16 +0900)
commit1064464ef9918fd39c4f3edc775b5cd849b0cd22
tree26f172ff30272c7c732045f164f249907f6a59cd
parentf9cf00e65bfe3f0f37730a097e095a174b9fcdd6
Add cancel callback feedback thread

- Issue:
Sometimes, ecore_thread_cancel() is blocked in vc_mgr_stop_feedback().

- Solution:
In vc_mgr_stop_feedback(), ecore_thread_cancel() is used, but the cancel
callback is not set. Thus, this patch adds cancel callback and makes the
callback reset the thread variable. Through this patch, the thread
variable will be safely reset.

Change-Id: I926c52aec385b07da65dbf1f6b363eeec328acdd
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
client/vc_mgr.c