tpl_wayland_egl_thread: protected the process of twe_display_del with mutex. 94/151894/4
authorjoonbum.ko <joonbum.ko@samsung.com>
Fri, 22 Sep 2017 06:54:30 +0000 (15:54 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Mon, 25 Sep 2017 02:47:55 +0000 (11:47 +0900)
commit602180f557374fe8f6f3334d672b684cb720fdcc
tree96ddac5aedad2bbec03aa2cdf26c460551224c4e
parentcb3b5e1dff7393c54c0ecbeb38192816c2d04bff
tpl_wayland_egl_thread: protected the process of twe_display_del with mutex.

 - The function twe_display_del is called by the main thread,
  but the actual destroy process is handled by the thread through twe_del_source.
   Therefore, while the del_source is being processed by the thread,
  the main thread must wait in cond_wait.

Change-Id: I7cffdc1d6fd477213d8258cf87871aa3de0c75f2
Signed-off-by: joonbum.ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c