Thread with an event loop
We have created a QTcpServer object in a separate thread and it is listening for incoming connections and processing them as they occur. At some point the is deleted and there is nothing to generate events in the thread.
Does the thread go into an endless block (using memory but no cpu) if not manually deleted?
Thread without an event loop
A QTcpServer object created and is listening.
Is the QTcpServer.listen() preventing the thread to just run through all the code and naturally finish?
What about the incoming connections? Do they have to be manually polled for?