Class CIM_Thread
extends CIM_EnabledLogicalElement

Threads represent the ability to execute units of a Process or task in parallel. A Process can have many Threads, each of which is weak to the Process.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_Thread

Direct Known Subclasses

CIM_UnixThread

Class Qualifiers

NameData TypeValue
DescriptionstringThreads represent the ability to execute units of a Process or task in parallel. A Process can have many Threads, each of which is weak to the Process.
UMLPackagePathstringCIM::System::Processing
Versionstring2.7.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CreationClassNamestring
DescriptionstringCreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allow all instances of this class and its subclasses to be uniquely identified.
Keybooleantrue
MaxLenuint32256
CSCreationClassNamestring
DescriptionstringThe scoping ComputerSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_Process.CSCreationClassName
CSNamestring
DescriptionstringThe scoping ComputerSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_Process.CSName
ExecutionStateuint16
DescriptionstringIndicates the current operating condition of the Thread. Values include ready (2), running (3), and blocked (4), among others. The majority of the enumerated values are obvious. However, a few require additional explanation: 7 (Ready but Relinquished Processor) describes that a thread is in the Ready state, but has voluntarily relinquished execution time to other threads. For example, this state may indicate a problem when the relinquishing thread is not handling items on its queues. If these semantics cannot be detected, the thread should report its state as 2 ("Ready"). 8 (Hung) indicates that a thread is not responding.
ValueMapstring0, 1, 2, 3, 4, 5, 6, 7, 8
ValuesstringUnknown, Other, Ready, Running, Blocked, Suspended Blocked, Suspended Ready, Ready But Relinquished Processor, Hung
Handlestring
DescriptionstringA string used to identify the Thread.
Keybooleantrue
MaxLenuint32256
KernelModeTimeuint64
DescriptionstringTime in kernel mode, in milliseconds. If this information is not available, a value of 0 should be used.
PUnitstringsecond * 10^-3
UnitsstringMilliSeconds
OSCreationClassNamestring
DescriptionstringThe scoping OperatingSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_Process.OSCreationClassName
OSNamestring
DescriptionstringThe scoping OperatingSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_Process.OSName
Priorityuint32
DescriptionstringPriority indicates the urgency or importance of execution of a Thread. A Thread may have a different priority than its owning Process. If this information is not available for a Thread, a value of 0 should be used.
ProcessCreationClassNamestring
DescriptionstringThe scoping Process' CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_Process.CreationClassName
ProcessHandlestring
DescriptionstringThe scoping Process' Handle.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_Process.Handle
UserModeTimeuint64
DescriptionstringTime in user mode, in milliseconds. If this information is not available, a value of 0 should be used.
PUnitstringsecond * 10^-3
UnitsstringMilliSeconds

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
EnabledDefaultuint16CIM_EnabledLogicalElement
EnabledStateuint16CIM_EnabledLogicalElement
Generationuint64CIM_ManagedElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
NamestringCIM_ManagedSystemElement
OperatingStatusuint16CIM_ManagedSystemElement
OtherEnabledStatestringCIM_EnabledLogicalElement
PrimaryStatusuint16CIM_ManagedSystemElement
RequestedStateuint16CIM_EnabledLogicalElement
StatusstringCIM_ManagedSystemElement
TimeOfLastStateChangedatetimeCIM_EnabledLogicalElement
TransitioningToStateuint16CIM_EnabledLogicalElement
AvailableRequestedStatesuint16[]CIM_EnabledLogicalElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods

Inherited Class Methods

NameReturn TypeClass Origin
RequestStateChangeuint32CIM_EnabledLogicalElement