thread suspended state
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi! I need to know if a thread (possibly in another process), given by a handle or id is suspended or running. I didn't find any solutions in MSDN or google, except that SuspendThread returns the suspend count, if it's >0 then the thread is suspended. But I'd like to query this for all the threads of all the running processes multiple times a second, so it wouldn't be very efficient to suspend/resume them all the time. Anyone got a better idea?