wl_egl: Add defense code for fake signal in buffer_clear 66/284166/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, 11 Nov 2022 02:55:56 +0000 (11:55 +0900)
commitd7a374a41f3682f1659476c38c1e008af0ca976c
tree4be7f5c8ba5f77d8d60e34628981fd057260428f
parentb3c30b4387f6b777621eb331567f3e6c82764340
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