Enlightenment CVS committal

Author  : azundris
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
      Tag: SPLIT
        ecore_main.c 


Log Message:
* this is an ugly solution for the problem that eCore-IPC/eCore-Con clients
  work with ecore_main_loop_iterate(), but servers do not.  it is intended
  to illustrate the problem (and to hotfix it), not to be the final solution.
  raster, pls replace it with a more organic fix sometime?  maybe bump the
  version, as well?  thanks, -A-

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Attic/ecore_main.c,v
retrieving revision 1.1.2.16
retrieving revision 1.1.2.17
diff -u -3 -r1.1.2.16 -r1.1.2.17
--- ecore_main.c        15 Sep 2003 07:49:30 -0000      1.1.2.16
+++ ecore_main.c        16 Sep 2003 20:29:19 -0000      1.1.2.17
@@ -405,7 +405,22 @@
        goto process_events;
      }
    /* call idle enterers ... */
-   if (!once_only) _ecore_idle_enterer_call();
+   if (!once_only)
+     _ecore_idle_enterer_call();
+   else
+     {
+        int ret;
+
+       have_event = have_signal = 0;
+       ret = _ecore_main_select(0);
+
+       if (ret > 0) have_event = 1;
+       if (_ecore_signal_count_get() > 0) have_signal = 1;
+
+       if (have_signal || have_event)
+         goto process_events;
+     }
+
    /* if these calls caused any biuffered events to appear - deal with them */
    while (_ecore_main_fd_handlers_buf_call());
    /* if ther are any - jump to processing them */




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to