On Thu, 16 Apr 2009 19:15:53 -0300 Gustavo Sverzut Barbieri
<[email protected]> said:

what gustavo said. bad bad. when we say efl is not threadsafe.. we mean it.
yo-u cannot access ANY EFL (ecore, edje, evas etc.) calls from ANY thread but
the thread it lives in (there is 1 exception to this.... ecore_pipe_write() -
it is intended for communicating back from a thread TO the ecore mainloop (set
up a piple). it is assumed that since the thread is a thread.; you have a
threadsafe way to send stuff TO the thread - so no pipe needed).

> On Thu, Apr 16, 2009 at 7:11 PM, Viktor Kojouharov
> <[email protected]> wrote:
> > On Thu, 2009-04-16 at 18:16 -0300, Gustavo Sverzut Barbieri wrote:
> >> On Thu, Apr 16, 2009 at 6:03 PM, Enlightenment SVN
> >> <[email protected]> wrote:
> >> > Log:
> >> >  create the thumbnails in a different thread
> >>
> >> noooooooooo.... ethumb uses efl, and that cannot be used from
> >> different threads...
> >>
> >> we're working on ethumb client/server to solve these things, stay
> >> tunned... until then just avoid doing it.
> >>
> > why? ethumb uses a different canvas to create the thumbnails, and the
> > thread is created in the idle loop, assuming after whatever global
> > variables are inited.
> 
> still problems, there is a global list of canvas and other stuff in
> evas. Also, new ethumb features we're working on will depend on main
> loop and thus you'll have bigger problem.
> 
> (antognolli is working on thumbnail plugins, probably we'll have epdf,
> eps, edvi and emotion plugins, so we'll be able to have documents and
> videos! we're even thinking about animated thumbnails by generating
> .edj files using edje_edit api, but that will need bit more work)
> 
> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: [email protected]
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to