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
I think the state here is referred to as
This can be taken care of by using variable which can tell that if a thread is actually running or waiting for event to happen.
These scenarios appear when considering threadpools, having some n threads and based on each thread running status , tasks can be assigned to idle threads.