- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am running Vtune profiler from oneAPI base toolkit 2022.
My app creates 8 threads (in addition to the main thread that eventually waits for all of them to complete). It runs perfectly (with good load balancing between the C++ threads). However, I see an extra idle thread. In my specific app, I get 10 threads instead of 9. It happens with every app I run.
I am sharing two snapshots. One indicates 10 threads (instead of 9) and the other is the platform view of all threads. The extra thread is on the very bottom.
I am running on win10. the app was compiled with MS visual compiler 2022.
what and why is this extra thread ?
Thanks in advance.
- Tags:
- multithreading.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities. This is a known scenario. There is a possibility where a function calls another function. So a new thread would be assigned to function 1 and sits idle till the function 2 execution is completed. Hence, you're observing an extra thread in the pane.
If this resolves your issue, make sure to accept this as a solution. This helps others with the similar issue.
Regards,
Alekhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Understood. case resolved. Thanks, Yariv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Glad to know that your issue is resolved. If you need any further assistance, please post a new question as this thread will no longer be monitored by Intel.
Regards,
Alekhya
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page