Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: ecore_events.c ecore_main.c Log Message: ok - see comments with idle-enter. =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_events.c,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- ecore_events.c 25 Jan 2008 18:28:16 -0000 1.27 +++ ecore_events.c 9 Jun 2008 12:15:33 -0000 1.28 @@ -437,6 +437,7 @@ ecore_main_loop_quit(); } } +// printf("EVENT BATCH DONE\n"); ecore_raw_event_type = ECORE_EVENT_NONE; ecore_raw_event_event = NULL; =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore/ecore_main.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- ecore_main.c 26 May 2008 05:16:32 -0000 1.36 +++ ecore_main.c 9 Jun 2008 12:15:33 -0000 1.37 @@ -563,6 +563,7 @@ /* if these calls caused any buffered events to appear - deal with them */ while (_ecore_main_fd_handlers_buf_call()); while (_ecore_main_win32_message_buf_call()); + /* if ther are any - jump to processing them */ if (_ecore_event_exist()) { @@ -673,7 +674,6 @@ { /* process signals into events .... */ while (_ecore_signal_count_get()) _ecore_signal_call(); - /* handle events ... */ _ecore_event_call(); _ecore_main_fd_handlers_cleanup(); @@ -681,6 +681,11 @@ while (_ecore_main_fd_handlers_buf_call()); if (have_msg) _ecore_main_win32_message_buf_call(); while (_ecore_main_win32_message_buf_call()); - if (once_only) _ecore_idle_enterer_call(); +/* ok - too much optimising. let's call idle enterers more often. if we + * have events that place more events or jobs etc. on the event queue + * we may never get to call an idle enterer + if (once_only) + */ + _ecore_idle_enterer_call(); in_main_loop--; } ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs