Trying to understand, why my C++/Qt application creates 18 threads, while i don’t create more than 4, considering main() as 5th thread, where Qt’s event loop is executing.
OS: Win7-32.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming the OS is windows: you can use ProcessExplorer (click on the process, threads, and you can check the call stack for each thread).
Also, if you are using visual studio, you can switch between threads or see them all in the “Parallel Stacks” (attach to a process, Debug->Windows->Parallel stacks).