tpl_wayland_egl: Added tdm_mutex to wayland_egl_display to guarantee thread safety. 95/168795/1
authorjoonbum.ko <joonbum.ko@samsung.com>
Wed, 31 Jan 2018 04:36:28 +0000 (13:36 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Wed, 31 Jan 2018 04:39:51 +0000 (13:39 +0900)
commit2d8149fe316acabe82015d5310a721c4bacb046e
tree956df865de31050f293964da042e23657536c85d
parenta816206cfc6e25f982ac0182e5d57cfb79d8f0ca
tpl_wayland_egl: Added tdm_mutex to wayland_egl_display to guarantee thread safety.

  - RELATED COMMIT: Guaranteed thread safety for wl_event processing.
                    - 750b2fe32de4438d3eb8e2ce1ee9a968a511c4f7
  - Above commit can cover the wl_event processing only.
  - And in multi-surfaces or multi-threads situation,
    wayland_egl_display can be accessed at the same time
    in the processing of different surfaces.
  - The tdm_client in wayland_egl_display also dispatches wl_display internally,
     so thread_safety for tdm_client should be guaranteed.

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