On 5/1/07, Andreas Volz <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I had to change my edje GUI from a thread. After some help here I found
> a way to do that with pipes. I've created some helper functions to easy
> dispatch an GUI update from a thread. Perhaps it's usefull for anyone.
> Maybe this functions or anything similar could be inserted in ecore for
> easier use in threads.

I'm just started with EFL, being used to GLib, maybe this could be
also done by adding some timeout or idle function to be executed by
ecore, and since ecore processes these queues from the thread
ecore_main_loop_begin() (also considered "main" or "graphical"
thread), these would run from this.

However, Ecore is not thread safe and this may bring some problems
using "as is", but providing a patch to use mutexes around critical
areas seems to be easy. Would it be accepted? If so I can provide
them.... since in few weeks I'll have to integrate GMainLoop with
ecore, this can help with the job, replacing GMainLoop primitives with
Ecore using LD_PRELOAD instead of the other way around (as I was
planing to do).

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to