tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=74cbbd204cefb0261a362c0fb8818b0e9e938525

commit 74cbbd204cefb0261a362c0fb8818b0e9e938525
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Tue Jul 7 12:34:40 2015 +0200

    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
---
 src/lib/ecore_con/ecore_con_local_win32.c | 6 ++++--
 1 file 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 7d8b838..cfeba72 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);

-- 


Reply via email to