Then surely the we are missing something in eina to get the main loop scheduler? Moving this code into the efl namespace seems misleading if the intent is that it would not be part of our bindings. Eina is, if I understand it, there for the C implementation specifics...
Andy On Wed, 3 Jan 2018 at 14:54 Gustavo Sverzut Barbieri <barbi...@gmail.com> wrote: > On Wed, Jan 3, 2018 at 11:55 AM, Andrew Williams <a...@andywilliams.me> > wrote: > > Hi, > > > > We need to expose some API for creating an Eina_Future_Scheduler if it is > > to remain in eina_promise_new. > > The alternative is that we pass a simple Eo *parent instead and we could > > keep all the scheduler work internally. > > > Sorry, I don't get what you mean. > > What I wrote in my email is that you need to manually write C code to > get the Eina_Future_Scheduler, as you need to manually write C code to > call eina_promise_new(). > > And that this should be nicely integrated into the language-native > Promise implementation, so it can be chained with other > promise/future... like in Python. This requires some extra work, it's > not trivial or auto-generated. > > > -- > Gustavo Sverzut Barbieri > -------------------------------------- > Mobile: +55 (16) 99354-9890 <+55%2016%2099354-9890> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- http://andywilliams.me http://ajwillia.ms ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel