ecore: use recursive lock for _ecore_glib_select
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 22 Oct 2015 19:28:51 +0000 (12:28 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 22 Oct 2015 19:28:53 +0000 (12:28 -0700)
commit7a046b0c368d45076f505ca8206b68f6a8554453
tree88c25431296ee1e530c61e2106f63125f9dcc4ce
parent71e68dcca6518e313738d276d1ac88a71cb43098
ecore: use recursive lock for _ecore_glib_select

Summary: Fix a deadlock caused by recursive call of _ecore_glib_select.

Test Plan:
Delete elm_image on the glib callback(ref: g_source_set_callback).
The _elm_image_evas_object_smart_del calls ecore_thread_wait.

Reviewers: raster, jpeg, woohyun, jaehwan, Hermet, seoz, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D3202

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore/ecore_glib.c