On Sat, Dec 26, 2015 at 1:52 PM, Carsten Haitzler <[email protected]> wrote:
> so yeah - dispatch thread -> mainloop. that's where main() in c/c++ would be 
> and
> what would exist unless you CREATE a thread. efl has various ways to send code
> to run in the mainloop context. ecore_thread_* api calls in c do this.
>
> https://docs.enlightenment.org/elementary/current/threading.html
>
> shows several ways to do this. but this is c. not python. the idea simply is
> that pretty much everything in efl wants to run in the mainloop - ui, event
> handling, rendering etc. - you can stuff things off into threads then message
> the mainloop "when done" to update the ui for example. some things like eio do
> this for you and call callbacks in the mainloop context - all callbacks are
> called from the mainloop unless explicitly documented otherwise.
>
> python is probably easier to code with, but you will find that the bindings 
> are
> not complete. sometimes you will hit a problem and the answer will be "this 
> api
> solves it" then that api may not be bound so you may get stuck. if you are
> willing to live with the limitations - then python is easier. otherwise c/c++
> will get you complete access.

Thanx for the response, you've pretty much confirmed my fears...
Probably will try doing it in C, then we'll see how it will go.

Regards,
Stanislav

------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to