How can I detect a hang in QEventLoop?
To detect a hung event loop, you need to wrap the operation that can hang the event loop, to detect when it takes too long. The “operation” is the QCoreApplication::notify member. It is called to deliver events to all event loops, in all threads. An event loop hang occurs when the code that processes an … Read more