wl_egl_thread: prepare for the failure of pause_in_idle 44/286744/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 4 Jan 2023 07:49:41 +0000 (16:49 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Thu, 12 Jan 2023 07:13:44 +0000 (16:13 +0900)
commitf4ecb1ad76e6a1172da49e223cd6f6afe82b6eb5
tree85529f741c863aa7d0dd70f51406a5252929e6cf
parente7fff1a3fecb076806a7b9c45fdecf3a7f450a84
wl_egl_thread: prepare for the failure of pause_in_idle

 - The calling tpl_gthread_pause_in_idle() move from force_flush()
  to outside.
 - Add locking wl_event_mutex after trying tpl_gthread_pause_in_idle.
 - Locking wl_event_mutex is a secondary means of preparing for
  the failure of tpl_gthread_pause_in_idle().
   If tpl_gthread_pause_in_idle()is successful,
  locking wl_event_mutex does not affect.

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