On 06/04/2012 12:34 PM, Vannoote, Frederik wrote:

Hey all,

 

 

 

I’m having a weird thing about Qtimer which I can’t explain until now.

We are using a dedicated application to kick the processor watchdog. This application is based on a QTimer. Basically, it only has to call an ioctl once every 30 seconds. This is the only thing the application does.

 

We see that after a random time, the QTimer stops triggering. We have proven that it does not get stuck somewhere, it just does not get scheduled any more.

I’ve replaced the code with a while loop instead of the QT event loop. That seems to be running fine.


Do you mean to say that you have set the QTimer to have a time-out of 30 seconds?
And what is the order of time after which the timer seems to stop working - minutes, hours?

Also, (a wild shot) are you by any chance creating the timer objects afresh everytime?

Syam
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to