Home » U++ Library support » U++ Callbacks and Timers » callbacks freeze gui
Re: callbacks freeze gui [message #48163 is a reply to message #48155] |
Mon, 29 May 2017 20:23 |
Zbych
Messages: 325 Registered: July 2009
|
Senior Member |
|
|
aftershock wrote on Sun, 28 May 2017 22:35Hi,
To avoid freezing... I made the called to execute the time consuming operations in a separate thread..
Is this how it is supposed to work?
Timer freezes the gui each time it calls its callback?
Yes, that is normal. You have to run time consuming tasks in separate thread or if task contains some loop you can call ProcessEvents() in the loop.
|
|
|
Goto Forum:
Current Time: Sun Apr 28 20:18:25 CEST 2024
Total time taken to generate the page: 0.03245 seconds
|