[Gambas-user] Timer

Toni arosa at ...2015...
Fri Dec 11 18:14:16 CET 2009


Hi,
I've an application that has a timer that should get fired every 1 
second. Sometimes when the application is running and my desktop is 
under heavy load the timer doesn't get fired in time. Despite this, my 
expectation was that gambas would queue all this "Timer" events and they 
would get executed as soon as it got enough free CPU time.
Opposed to that, gambas just discards them... i.e. If my system isn't 
responsive for 5 seconds, after this time I won't get the Timer() method 
called 5 times for each second where it should have been called.

Is there a way to get the timer control working in a way that it queues 
the due events, and they get executed even if it is later on?
Thanks,
Toni

P.S: Using Gambas 2.18, Ubuntu 8.10 64bits




More information about the User mailing list