On Wed, Dec 21, 2011 at 5:06 PM, Henry Vermaak <henry.verm...@gmail.com> wrote:
> Better tell Maemo they've made a very bad choice, then.  It's not just
> embedded devices, laptops have batteries, too.  You're wasting CPU and power
> just spinning around a loop, so even if your app isn't active, it's still
> waking up every 50ms.  I don't consider this very good programming practice.

I tested with top and it doesn't even show my application in the top
20 users of CPU.

Anyway, I changed in this rev:
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=34354

It now adjusts the interval acoording to the installed timers, up to a
maximum of 1 second.

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to