evas sw x11 - disable the loop begin/end that deadlocks evas
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 27 Sep 2016 07:08:20 +0000 (16:08 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 27 Sep 2016 07:14:31 +0000 (16:14 +0900)
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

index 7042e12..2e9eb0a 100644 (file)
@@ -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