I need to write application that collect information about processes in windows. I can read number of threads and thread's id, memory that used by process. But i dont know how i can check working or not working threads in process. I'm using VS2010 and C++ with MFC. How can i do this?
Asked
Active
Viewed 71 times
0
-
Are you looking to see "how much CPU time each thread within my process is using"? Or see "is my thread doing what I expect it to do?", or perhaps "Is my thread blocked waiting for some event?" – Mats Petersson May 14 '13 at 10:57
-
Have you checked these links ? http://stackoverflow.com/questions/4608838/getting-a-thread-state-in-c-windows http://stackoverflow.com/questions/1006691/check-if-a-win32-thread-is-running-or-in-a-suspended-state – bjskishore123 May 14 '13 at 10:57
-
What do you mean by "hovered"? – sashoalm May 15 '13 at 15:48