From f3ab10d461ba5854bb2935511046fb8129ee697a Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 30 May 2012 12:16:50 +0000 Subject: [PATCH] edje: remove the work around. SVN revision: 71556 --- legacy/edje/src/bin/edje_cc_out.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/legacy/edje/src/bin/edje_cc_out.c b/legacy/edje/src/bin/edje_cc_out.c index 775dc10e8d..76d65cb3b5 100644 --- a/legacy/edje/src/bin/edje_cc_out.c +++ b/legacy/edje/src/bin/edje_cc_out.c @@ -1609,19 +1609,6 @@ data_write(void) printf("sounds: %3.5f\n", ecore_time_get() - t); t = ecore_time_get(); } pending_threads--; - if (pending_threads > 0) ecore_main_loop_begin(); - // XXX: workaround ecore thread bug where it creates an internal worker - // thread task we don't know about and it is STILL active at this point - // and in the middle of shutting down, so if we get to exit the process - // it's still busy and will crash accessing stuff - i = 0; - while ((ecore_thread_active_get() + ecore_thread_pending_get()) > 0) - { - ecore_main_loop_iterate(); - usleep(1); - i++; - if (i > 100) break; - } if (verbose) { printf("THREADS: %3.5f\n", ecore_time_get() - t); t = ecore_time_get();