tpl_wayland_egl_thread: Protect twe_thread_create() with mutex 16/150616/7
authorHoyub Lee <hoyub.lee@samsung.com>
Fri, 15 Sep 2017 08:46:48 +0000 (17:46 +0900)
committerjoonbum.ko <joonbum.ko@samsung.com>
Mon, 25 Sep 2017 02:47:52 +0000 (11:47 +0900)
commitcb3b5e1dff7393c54c0ecbeb38192816c2d04bff
tree320a6c2ce7bcabcf410a3150de5dbd1320280835
parenta14d48a81cb7021e495a631508be38893dae0841
tpl_wayland_egl_thread: Protect twe_thread_create() with mutex

Currently, main thread does not wait for newly creating threads which
has its own initialization process. As initalization happens on newly
created thread, without protecting, undesirable behaviour can occur.

Therefore, change main thread to wait newly creating thread with mutex.

Change-Id: Id32092d77c35bd7b8d705057a1b07798820e8e20
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
src/tpl_wayland_egl_thread.c