On Mon, Nov 8, 2010 at 7:21 PM, Rafael Antognolli <antogno...@profusion.mobi> wrote: > Hi guys, > > I have a problem implementing some timers inside WebKit. For some > animations, it adds a timer to relayout stuff, and this timer should > start in a few milliseconds, but this is smaller than the ecore > frametime. And timers added with ecore_timer_add just start on the > next main loop (when ecore will see that they expired). > > Does anyone have an idea of how to fix/workaround this?
Ecore should just use frametime to register animators, not for regular timers. I fail to see why "And timers added with ecore_timer_add just start on the next main loop" is a problem. Ecore should sleep for that amount of time and return. If that time is quite small, the select() call will return mostly immediately. You always have to call select() in order to process the possibly ready file descriptors anyway. BR, -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel