From c88c74de1b0e05cc50282f88944aa15986c2b13e Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 27 Sep 2016 16:08:20 +0900 Subject: [PATCH] evas sw x11 - disable the loop begin/end that deadlocks evas this is quick to get evas working again. this disables part of 7e2d700d06ff970d68ae208d59bca76f6ea07467 that creates deadlocks. this thread waits on mainloop. mainloop waits on this render thread. BOOM. deadlock. --- src/modules/evas/engines/software_x11/evas_engine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/software_x11/evas_engine.c b/src/modules/evas/engines/software_x11/evas_engine.c index 7042e12925..2e9eb0a019 100644 --- a/src/modules/evas/engines/software_x11/evas_engine.c +++ b/src/modules/evas/engines/software_x11/evas_engine.c @@ -144,11 +144,12 @@ evas_software_x11_region_push_hook_call(Outbuf *buf, int x, int y, int w, int h, if (!buf->region_push_hook.cb) return; - +/* err = ecore_thread_main_loop_begin(); EINA_SAFETY_ON_TRUE_RETURN(err == -1); buf->region_push_hook.cb(buf->region_push_hook.evas, x, y, w, h, pixels); ecore_thread_main_loop_end(); + */ } static void