[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmoko-distro-devel
Subject:    Re: Multi Threading in Evas
From:       Sander van Grieken <sander () 3v8 ! net>
Date:       2009-07-07 13:51:53
Message-ID: 200907071551.53500.sander () 3v8 ! net
[Download RAW message or body]

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

_______________________________________________
devel mailing list
devel@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic