Multi Threading in Evas

Sander van Grieken sander at 3v8.net
Tue Jul 7 15:51:53 CEST 2009


On Tuesday 07 July 2009 10:15:44 Abhishek Bajpai wrote:
> Dear Friends
>
> I am working on Edge/ Evas project. Where I am using Multiple Threads. I
> want to update the canvas from a different thread. But the problem I am
> facing is that the Canvas gets updated only when I touches the screen.
>
> Do you have any idea. I have read some were that Evas /EFL is not thread
> safe. Then how to do that ?????
>
> Thanks in advance  :)

You could place a lock around a single iteration of the main loop. Other 
threads can then do their stuff on the E data structures while the lock is 
released between main loop iterations.

grtz,
Sander



More information about the devel mailing list