raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=144f5f73e08503af6dad75105c2fad7612454d41
commit 144f5f73e08503af6dad75105c2fad7612454d41 Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Sun Jul 23 19:18:55 2017 +0900 add comment about poll high/medium/low implementation of events not brilliant as it stands. :( --- src/lib/ecore/ecore_main.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index d3671260f0..4bf3dc546d 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c @@ -2889,6 +2889,15 @@ _check_event_catcher_add(void *data, const Efl_Event *event) { ++pd->idlers; } + // XXX: all the below are kind of bad. ecore_pollers were special. + // they all woke up at the SAME time based on interval, (all pollers + // of interval 1 woke up together, those with 2 woke up when 1 and + // 2 woke up, 4 woke up together along with 1 and 2 etc. + // the below means they will just go off whenever but at a pre + // defined interval - 1/60th, 6 and 66 seconds. not really great + // pollers probably should be less frequent that 1/60th even on poll + // high, medium probably down to 1-2 sec and low - yes maybe 30 or 60 + // sec... still - not timed to wake up together. :( else if (array[i].desc == EFL_LOOP_EVENT_POLL_HIGH) { if (!pd->poll_high) --