Home > Mobile >  QT the cycle timer why does not block the UI thread?
QT the cycle timer why does not block the UI thread?

Time:10-21

The underlying principle is what?
If the main thread in the UI to write while (true) {} will be blocked, but if use cycle QTIMER call does not block, the event mechanism behind, or circulation mechanism, how to implement what is good? Based on message mechanism of WINDOWS?

CodePudding user response:

Timer timing process is not the UI thread.

CodePudding user response:

Internal are eventloop mechanism
  •  Tags:  
  • Qt
  • Related