wl_egl: Add defense code for fake signal in buffer_clear 02/283502/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 27 Oct 2022 15:02:58 +0000 (00:02 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Fri, 28 Oct 2022 00:12:12 +0000 (09:12 +0900)
commit3a28f16f753bf42ac47d2dd635e21894fa459c65
tree4be7f5c8ba5f77d8d60e34628981fd057260428f
parentca6f3cf3826ede26e1669dbfe2868a13d4ffed6e
wl_egl: Add defense code for fake signal in buffer_clear

 tpl_gcond_timed_wait is changed to be called within the while loop.
 It will repeat the process of checking status even if it wakes up
 due to Fake Signal.

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