[Gambas-user] Timer

Laurent Alebarde l.alebarde2 at ...402...
Sun Dec 13 11:54:47 CET 2009


Have a look here, it may helps you :
http://forums.genthttp://forums.gentoo.org/viewtopic-t-790101-highlight-xenomai.html


Benoît Minisini a écrit :
>> 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
>>
>>     
>
> No, sorry: you must do it yourself.
>
> Regards,
>
>   





More information about the User mailing list