THREADSTATETHREADSTATE

Especifica o estado do thread.Specifies the state of the thread.

SintaxeSyntax

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
};

CamposFields

THREADSTATE_RUNNING
Indica que o thread está em execução.Indicates that the thread is running.

THREADSTATE_STOPPED
Indica que o thread é interrompido devido a um ponto de interrupção.Indicates that the thread is stopped because of a breakpoint.

THREADSTATE_FRESH
Indica que o thread foi criado, mas ainda não está executando o código.Indicates that the thread has been created, but is not yet running code.

THREADSTATE_DEAD
Indica que o thread está inativo.Indicates that the thread is dead.

THREADSTATE_FROZEN
Indica que o thread está congelado (nenhuma execução pode ser executada).Indicates that the thread is frozen (no execution can be performed).

ComentáriosRemarks

Usado para o dwThreadState campo do THREADPROPERTIES estrutura.Used for the dwThreadState field of the THREADPROPERTIES structure.

RequisitosRequirements

Header: msdbg.hHeader: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.InteropNamespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dllAssembly: Microsoft.VisualStudio.Debugger.Interop.dll

Consulte tambémSee Also