Modified the codes related to call tpl_gcond_wait. 02/282302/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Tue, 27 Sep 2022 11:41:14 +0000 (20:41 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 29 Sep 2022 11:56:53 +0000 (20:56 +0900)
commite6f7aa1cb1942797a572c2e705c5027a907aed38
tree9c977f0266a5909785438eabd19bf954067fac78
parent0724b49458ea5b17330fae3f3aeff67401641c81
Modified the codes related to call tpl_gcond_wait.

 - g_cond_wait is sometimes awakened by unknown or stolen signal.
  In such cases, unexpected problems may arise. To prevent these problems,
  each tpl_gsource has tpl_gmutex and tpl_gcond, and modified to try
  tpl_gcond_wait() until gsource_finalized flag becomes true.

 - It may be modified with better way.

Change-Id: I1360c0a3888186ba0309fe4d94c5be8e29c6f1b8
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wl_egl_thread.c
src/tpl_wl_vk_thread.c