summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-27 21:19:17 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-03 13:40:33 +0900
commit1bdd9e4dd15fc27da43b50fd29bfb1b0b30ef6bd (patch)
tree168b9a7e716a814e8cdc476be53c61565a47ff3b /src/lib/ecore_evas
parent1c74aaa7e9c9fa1732b467aca5ee1458e3721f0a (diff)
ecore - a different take on efl.app class as a super class to efl.loop
so the MAIN loop is actually an efl.app object. which inherits from efl.loop. the idea is that other loops in threads will not be efl.app objects. thread on the creator side return an efl.thread object. inside the thread, like the mainloop, there is now an efl.appthread object that is for all non-main-loop threads. every thread (main loop or child) when it spawns a thread is the parent. there are i/o pipes from parnet to child and back. so parents are generally expected to, if they want to talk to child thread, so use the efl.io interfaces on efl.thread, and the main loop's elf.app class allows you to talk to stdio back to the parent process like the efl.appthread does the same using the efl.io interfaces to talk to its parent app or appthread. it's symmetrical no tests here - sure. i have been holding off on tests until things settle. that's why i haven't done them yet. those will come back in a subsequent commit for really quick examples on using this see: https://phab.enlightenment.org/F2983118 https://phab.enlightenment.org/F2983142 they are just my test code for this. Please see this design document: https://phab.enlightenment.org/w/efl-loops-threads/
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 67ab7e9fd0..4348da8084 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3195,7 +3195,7 @@ _ecore_evas_animator_fallback(void *data)
3195static void 3195static void
3196_check_animator_event_catcher_add(void *data, const Efl_Event *event) 3196_check_animator_event_catcher_add(void *data, const Efl_Event *event)
3197{ 3197{
3198 const Efl_Callback_Array_Item *array = event->info; 3198 const Efl_Callback_Array_Item_Full *array = event->info;
3199 Ecore_Evas *ee = data; 3199 Ecore_Evas *ee = data;
3200 int i; 3200 int i;
3201 3201
@@ -3229,7 +3229,7 @@ _check_animator_event_catcher_add(void *data, const Efl_Event *event)
3229static void 3229static void
3230_check_animator_event_catcher_del(void *data, const Efl_Event *event) 3230_check_animator_event_catcher_del(void *data, const Efl_Event *event)
3231{ 3231{
3232 const Efl_Callback_Array_Item *array = event->info; 3232 const Efl_Callback_Array_Item_Full *array = event->info;
3233 Ecore_Evas *ee = data; 3233 Ecore_Evas *ee = data;
3234 int i; 3234 int i;
3235 3235