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

MembrosMembers

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

THREADSTATE_STOPPED indica que o thread está parado devido a um ponto de interrupção.THREADSTATE_STOPPED 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.THREADSTATE_FRESH Indicates that the thread has been created, but is not yet running code.

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

THREADSTATE_FROZEN indica que o thread está congelado (nenhuma execução pode ser executada).THREADSTATE_FROZEN 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