Does calling QObject::connect() spawn a new thread internally? ["SOLVED"]
Does calling a connect() actually create a new thread? I just wanted to know since one of my colleague says so?
According to him calling connect() in a loop repeatedly creates multiple threads, which can be observed from windows task manager.
It is no where mentioned in Qt docs thats calling a coonect() spawns a thread.
No. It does not.
You have all the source code available, so you can check if you want. But really: no threads are involved.
@Andre - Thanks a lot Andre.
Hm, you would only make the event handler very busy.
@Jeroentje - thanks for the reply.