efl/src/lib/eo
Carsten Haitzler 1bdd9e4dd1 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/
2018-03-03 13:40:33 +09:00
..
CMakeLists.txt cmake/eo: add description (fills eo.pc file) 2017-01-23 19:34:39 -02:00
Eo.h ecore - a different take on efl.app class as a super class to efl.loop 2018-03-03 13:40:33 +09:00
efl_class.eo docs: eo: finish up docs for eo 2016-11-10 15:14:42 +01:00
efl_future.c eina: make __eina_promise_cancel_all an internal only function. 2017-12-18 16:17:04 -08:00
efl_future.h eo: add missing since tags for functions added during 1.19 cycle 2017-02-14 21:47:15 +01:00
efl_interface.eo eo: Update grammar and readability 2017-12-20 09:52:31 +00:00
efl_object.eo eo: Add "destruct" event 2018-01-10 16:31:06 +09:00
efl_object_override.eo Eo: Rename most of Eo to the Efl prefix. 2016-08-11 17:04:43 +01:00
eina_types.eot Revert "efl_loop: move scheduler_get to eo API" 2018-01-03 11:21:34 -08:00
eo.c eo: mark more unlikely labels as cold 2018-02-25 14:06:52 +01:00
eo_add_fallback.c mmap memory allocation - do not used when under valgrind 2018-01-12 03:02:43 +09:00
eo_add_fallback.h Eo: Finish the renaming of Eo to the EFL. 2016-08-15 15:07:42 +01:00
eo_base_class.c ecore - a different take on efl.app class as a super class to efl.loop 2018-03-03 13:40:33 +09:00
eo_class_class.c Eo: Rename most of Eo to the Efl prefix. 2016-08-11 17:04:43 +01:00
eo_private.h eo: Move hacky API auto_unref to C only 2017-12-05 15:06:34 +09:00
eo_ptr_indirection.c eo: Improve invalid EO ID error message 2017-06-22 13:19:23 +09:00
eo_ptr_indirection.h eo: Add debug_name read-only property to ease debugging 2017-08-04 10:24:03 +09:00
eo_ptr_indirection.x mmap memory allocation - do not used when under valgrind 2018-01-12 03:02:43 +09:00