I use qt a lot. I want to know something: how many threads does Qt create do to things in the background? like handling signals and slots..
Also, any GUI toolkit creates Event threads too (i seem to remember java does). Does Qt create one too?
EDIT: when I say "how many threads", I really mean which threads
Thanks,
jrh
Qt's signals and slots are not implemented using multiple threads, they're just a way of handling the bookkeeping for event distribution.
One thing you can do is run your program, count the threads using whatever OS facility you like (such as Task Manager on Windows), and see whether that matches what you expect. I wouldn't expect Qt to create any additional threads unless you ask it to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With