THREADSTATE
指定執行緒的狀態。
enum enum_THREADSTATE {
THREADSTATE_RUNNING = 0x0001,
THREADSTATE_STOPPED = 0x0002,
THREADSTATE_FRESH = 0x0003,
THREADSTATE_DEAD = 0x0004,
THREADSTATE_FROZEN = 0x0005
};
typedef DWORD THREADSTATE;
public enum enum_THREADSTATE {
THREADSTATE_RUNNING = 0x0001,
THREADSTATE_STOPPED = 0x0002,
THREADSTATE_FRESH = 0x0003,
THREADSTATE_DEAD = 0x0004,
THREADSTATE_FROZEN = 0x0005
};
Members
THREADSTATE_RUNNING
指示執行緒正在執行中。THREADSTATE_STOPPED
指出因為中斷點時停止執行緒。THREADSTATE_FRESH
指示執行緒已經建立,但還未執行的程式碼。THREADSTATE_DEAD
指示執行緒已無作用。THREADSTATE_FROZEN
指出執行緒已凍結 (可以執行任何執行)。
備註
用於dwThreadState欄位的THREADPROPERTIES結構。
需求
標頭: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
組件: Microsoft.VisualStudio.Debugger.Interop.dll