Quote Originally Posted by shamik View Post
ti think if one gets terminated then the qtimer will stop working (i dont know 4 sure but i'll try).
No, it won't stop unless you destroy it or block the event loop.

Quote Originally Posted by shamik View Post
please tell me how to do it using pthreads.
You will have to use custom events to notify the GUI that it has to refresh itself and of course the effect will be exactly the same as if you were using QTimer.