summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2015-07-07 12:34:40 +0200
committerTom Hacohen <tom@stosb.com>2015-07-07 12:05:34 +0100
commit74cbbd204cefb0261a362c0fb8818b0e9e938525 (patch)
tree5a5cebd8eb0806c7e0582cf10539e02f13da6ccd
parentfe4e464fb6c6418d5bc60bf26ae9a2d75b42b435 (diff)
downloadefl-74cbbd204cefb0261a362c0fb8818b0e9e938525.tar.gz
Ecore Con: Fix ecore_con_local hangs on Windows.
Since the move to eo, ecore_con_local hangs on Windows, hence edje_cc can not compile edc files (e.g.). Problem was a loop that was used to finish some threads which is now endless. For now, comment out that loop @fix
-rw-r--r--src/lib/ecore_con/ecore_con_local_win32.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ecore_con/ecore_con_local_win32.c b/src/lib/ecore_con/ecore_con_local_win32.c
index 7d8b838d0d..cfeba726d7 100644
--- a/src/lib/ecore_con/ecore_con_local_win32.c
+++ b/src/lib/ecore_con/ecore_con_local_win32.c
@@ -488,8 +488,10 @@ ecore_con_local_win32_server_del(Ecore_Con_Server *obj)
return;
svr->read_stop = 1;
- while (!svr->read_stopped)
- Sleep(100);
+ /* FIXME: we should try to stop these thread in one way or another */
+ /* should we use ecore_thread ? */
+ /* while (!svr->read_stopped) */
+ /* Sleep(100); */
if (svr->event_peek)
CloseHandle(svr->event_peek);