summaryrefslogtreecommitdiff
path: root/src/lib/ecore
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 /src/lib/ecore
parent8a80005f254caf314e77ee1139ef3f4a4c73123e (diff)
add comment about poll high/medium/low implementation of events
not brilliant as it stands. :(
Diffstat (limited to 'src/lib/ecore')
-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)
2889 { 2889 {
2890 ++pd->idlers; 2890 ++pd->idlers;
2891 } 2891 }
2892 // XXX: all the below are kind of bad. ecore_pollers were special.
2893 // they all woke up at the SAME time based on interval, (all pollers
2894 // of interval 1 woke up together, those with 2 woke up when 1 and
2895 // 2 woke up, 4 woke up together along with 1 and 2 etc.
2896 // the below means they will just go off whenever but at a pre
2897 // defined interval - 1/60th, 6 and 66 seconds. not really great
2898 // pollers probably should be less frequent that 1/60th even on poll
2899 // high, medium probably down to 1-2 sec and low - yes maybe 30 or 60
2900 // sec... still - not timed to wake up together. :(
2892 else if (array[i].desc == EFL_LOOP_EVENT_POLL_HIGH) 2901 else if (array[i].desc == EFL_LOOP_EVENT_POLL_HIGH)
2893 { 2902 {
2894 if (!pd->poll_high) 2903 if (!pd->poll_high)