summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-23 19:18:55 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-23 19:18:55 +0900
commit144f5f73e08503af6dad75105c2fad7612454d41 (patch)
tree48bcd5fac22da16d870313f213e654edc5e171d2
parent8a80005f254caf314e77ee1139ef3f4a4c73123e (diff)
downloadefl-144f5f73e08503af6dad75105c2fad7612454d41.tar.gz
add comment about poll high/medium/low implementation of events
not brilliant as it stands. :(
-rw-r--r--src/lib/ecore/ecore_main.c9
1 files changed, 9 insertions, 0 deletions
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)