efl/legacy/ecore/src
Gustavo Sverzut Barbieri 0664a8fd5e Avoid getting stuck into ecore main loop dispatchers.
The old way we could run endless with the following case:

   int my_buggy_idler(void *data) {
       ecore_idler_add(my_buggy_idler, NULL);
       return 0;
   }

since it would append to that list, then the list would never end.

Now we just dispatch up to the last know idler, then go back to
regular processing, if nothing happens we'll be back to dispatch
again.

I tested it here and works fine, but might show issues with ecore
enterers/exiters of some applications that rely on the old (broken)
behavior.



SVN revision: 40847
2009-05-29 16:33:00 +00:00
..
bin Remove ecore_strings and switch to eina_stringshare. 2008-10-15 14:45:53 +00:00
lib Avoid getting stuck into ecore main loop dispatchers. 2009-05-29 16:33:00 +00:00
.cvsignore Fixed a couple of debs in e17/libs, added and updated a couple of .cvsignores. 2003-11-13 12:30:50 +00:00
Makefile.am too zealous - ecore_config needs to come back 2006-10-28 11:41:53 +00:00