How do I check to see if a Win32 thread is running or in suspended state?
I can\'t find any Win32 API which gives the state of a thread. So how do I get the thread s
In Windows 7, you can use QueryUmsThreadInformation. (UMS stands for User mode scheduling).
See here for UmsThreadIsSuspended.
UmsThreadIsSuspended