Prevents the incorrect signal on gcond of wl_egl_buffer. 74/270174/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 20 Jan 2022 08:16:52 +0000 (17:16 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 26 Jan 2022 06:57:50 +0000 (15:57 +0900)
commitdc23e646d3167b9519486088b514e07dd63f2c3d
treef2848f1f3447d9fa32d2ccc2e5c3d403a344f120
parent1b4ee77a5e06d92ece17db7d43dd9de083a24c41
Prevents the incorrect signal on gcond of wl_egl_buffer.

  As with g_cond_wait() it is possible that a spurious or stolen wakeup
 could occur. For that reason, waiting on a condition variable should
 always be in a loop, based on an explicitly-checked predicate.

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