how can find how thread running in my application
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Hi all, i want to know currently how many threads running in my applcation? please tell me what api or function use for this? or please tell me how can i do this. thanks in advance.
See here[^]. You can use the code from the link, just need to replace the
printf
call with conditional check - if the process ID matches your own process ID, obtained via GetCurrentProcessId[^]. :)modified on Wednesday, January 5, 2011 6:13 AM
-
See here[^]. You can use the code from the link, just need to replace the
printf
call with conditional check - if the process ID matches your own process ID, obtained via GetCurrentProcessId[^]. :)modified on Wednesday, January 5, 2011 6:13 AM