Win32_Thread, ROOT\CIMV2\ms_409

Class | Methods | Properties (22) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_Thread class represents a thread of execution.While a process must have one thread of execution, the process can create other threads to execute tasks in parallel. Threads share the process environment, thus multiple threads under the same process use less memory than the same number of processes.

Win32_Thread properties

Win32_Thread has 22 properties (5 Local, 17 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
CreationClassNameCIM_Thread8 [string]
CSCreationClassNameCIM_Thread8 [string]
CSNameCIM_Thread8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
ElapsedTimeWin32_Thread21 [uint64]
ExecutionStateCIM_Thread18 [uint16]
key
Handle
CIM_Thread8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
KernelModeTimeCIM_Thread21 [uint64]
NameCIM_ManagedSystemElement8 [string]
OSCreationClassNameCIM_Thread8 [string]
OSNameCIM_Thread8 [string]
PriorityCIM_Thread19 [uint32]
PriorityBaseWin32_Thread19 [uint32]
ProcessCreationClassNameCIM_Thread8 [string]
key
ProcessHandle
CIM_Thread8 [string]
StartAddressWin32_Thread19 [uint32]
StatusCIM_ManagedSystemElement8 [string]
ThreadStateWin32_Thread19 [uint32]
ThreadWaitReasonWin32_Thread19 [uint32]
UserModeTimeCIM_Thread21 [uint64]

Detailed description of Win32_Thread properties

Local properties (5) of Win32_Thread class

ElapsedTime property
CIMTYPE'uint64'
Description'The ElapsedTime property indicates the total execution time given to this thread since its creation.'
Units'milliseconds'
ElapsedTime property is in 3 classes of ROOT\CIMV2\ms_409 and in 17 namespaces
PriorityBase property
CIMTYPE'uint32'
Description'The PriorityBase property indicates the current base priority of a thread. The operating system may raise the thread's dynamic priority above the base priority if the thread is handling user input, or lower it toward the base priority if the thread becomes compute-bound. The PriorityBase propertycan have a value between 0 and 31'
PriorityBase property is in 1 class (Win32_Thread) of ROOT\CIMV2\ms_409 and in 2 namespaces
StartAddress property
CIMTYPE'uint32'
Description'The StartAddress property indicates the starting address of the thread. Because any application with appropriate access to the thread can change the thread's context, this value may only be an approximation of the thread's starting address.'
StartAddress property is in 1 class (Win32_Thread) of ROOT\CIMV2\ms_409 and in 4 namespaces
ThreadState property
CIMTYPE'uint32'
Description'The ThreadState property indicates the current execution state for the thread. A thread can have one of eight values: Initialized (recognized by the microkernel), Ready (prepared to run on next available processor), Running (executing), Standby (about to run, only one thread may be in this state at a time), Terminated (finished executing), Waiting (not ready for the processor, when ready, it will be rescheduled), Transition (thread is waiting for resources other than the processor), and Unknown (the thread state is unknown).'
Values['Initialized', 'Ready', 'Running', 'Standby', 'Terminated', 'Waiting', 'Transition', 'Unknown']
ThreadState property is in 1 class (Win32_Thread) of ROOT\CIMV2\ms_409 and in 2 namespaces
ThreadWaitReason property
CIMTYPE'uint32'
Description'The ThreadWaitReason property indicates why the thread is waiting. The value is only valid if the ThreadState member is set to Waiting. Values of 0 or 7 denote that the thread is waiting for the Executive, 1 or 8 for a Free Page, 2 or 9 for a Page In, 3 or 10 for a Pool Allocation, 4 or 11 for an Execution Delay, 5 or 12 for a Suspended condition, 6 or 13 for a User Request, 14 for an Event Pair High, 15 for an Event Pair Low, 16 for an Local Procedure Call (LPC) Receive, 17 for an LPC Reply, 18 for Virtual Memory, 19 for a Page Out. 20 and higher are not assigned. Event Pairs allow communication with protected subsystems (see Context Switches).'
Values['Executive', 'FreePage', 'PageIn', 'PoolAllocation', 'ExecutionDelay', 'FreePage', 'PageIn', 'Executive', 'FreePage', 'PageIn', 'PoolAllocation', 'ExecutionDelay', 'FreePage', 'PageIn', 'EventPairHigh', 'EventPairLow', 'LPCReceive', 'LPCReply', 'VirtualMemory', 'PageOut', 'Unknown']
ThreadWaitReason property is in 1 class (Win32_Thread) of ROOT\CIMV2\ms_409 and in 2 namespaces

Derived properties (17) of Win32_Thread class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
Caption property is in 273 classes of ROOT\CIMV2\ms_409 and in 37 namespaces
CreationClassName property
CIMTYPE'string'
Description'CreationClassName 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.'
CreationClassName property is in 175 classes of ROOT\CIMV2\ms_409 and in 20 namespaces
CSCreationClassName property
CIMTYPE'string'
Description'The scoping computer system's creation class name.'
CSCreationClassName property is in 27 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
CSName property
CIMTYPE'string'
Description'The scoping computer system's name.'
CSName property is in 28 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
ExecutionState property
CIMTYPE'uint16'
Description'Indicates the current operating condition of the thread. Values include ready (2), running (3), and blocked (4), among others.'
Values['Unknown', 'Other', 'Ready', 'Running', 'Blocked', 'Suspended Blocked', 'Suspended Ready']
ExecutionState property is in 4 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Handle property
CIMTYPE'string'
Description'The Handle property represents a handle to a thread. The handle has full access rights by default. With the correct security access, the handle can be used in any function that accepts a thread handle. Depending on the inheritance flag specified when it is created, this handle can be inherited by child processes.'
keyTrue
Handle property is in 4 classes of ROOT\CIMV2\ms_409 and in 4 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
InstallDate property is in 223 classes of ROOT\CIMV2\ms_409 and in 23 namespaces
KernelModeTime property
CIMTYPE'uint64'
Description'The KernelModeTime property indicates the raw counter data from the performance counter type
PERF_SIZE_LARGE | PERF_TYPE_COUNTER | PERF_COUNTER_RATE | PERF_TIMER_100NS | PERF_DELTA_COUNTER | PERF_DISPLAY_PERCENT
The counter data is in 100 nanosecond units.'
Units'100 nanoseconds'
KernelModeTime property is in 4 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Name property
CIMTYPE'string'
Description'The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.'
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
OSCreationClassName property
CIMTYPE'string'
Description'The scoping operating system's creation class name.'
OSCreationClassName property is in 4 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
OSName property
CIMTYPE'string'
Description'The scoping operating system's name.'
OSName property is in 4 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
Priority property
CIMTYPE'uint32'
Description'The Priority property indicates the dynamic priority of the thread. Each thread has a dynamic priority that the scheduler uses to determine which thread to execute. Initially, a thread's dynamic priority is the same as its base priority. The system can raise and lower the dynamic priority, to ensure that it is responsive (guaranteeing that no threads are starved for processor time). The system does not boost the priority of threads with a base priority level between 16 and 31. Only threads with a base priority between 0 and 15 receive dynamic priority boosts. Higher numbers indicate higher priorities.'
Priority property is in 7 classes of ROOT\CIMV2\ms_409 and in 31 namespaces
ProcessCreationClassName property
CIMTYPE'string'
Description'The scoping process' CreationClassName.'
ProcessCreationClassName property is in 2 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
ProcessHandle property
CIMTYPE'string'
Description'The ProcessHandle property indicates the process that created the thread. The contents of this property can be used by Win32 API elements.'
keyTrue
ProcessHandle property is in 2 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 225 classes of ROOT\CIMV2\ms_409 and in 42 namespaces
UserModeTime property
CIMTYPE'uint64'
Description'The UserModeTime property indicates the raw counter data from the performance counter type
PERF_SIZE_LARGE | PERF_TYPE_COUNTER | PERF_COUNTER_RATE | PERF_TIMER_100NS | PERF_DELTA_COUNTER | PERF_DISPLAY_PERCENT
The counter data is in 100 nanosecond units.'
Units'100 nanoseconds'
UserModeTime property is in 4 classes of ROOT\CIMV2\ms_409 and in 2 namespaces

Win32_Thread Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description'The Win32_Thread class represents a thread of execution.While a process must have one thread of execution, the process can create other threads to execute tasks in parallel. Threads share the process environment, thus multiple threads under the same process use less memory than the same number of processes.'
LOCALE1033

Win32_Thread System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:Win32_Thread'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Thread', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT22___SYSTEM3
__RELPATH'Win32_Thread'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_Thread'___SYSTEM8
__CLASS'Win32_Thread'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_Thread

Number of classes:5
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_ProcessThread020----
CIM_Thread1170----
Win32_ThreadStartTrace080---
Win32_ThreadStopTrace040---
Win32_ThreadTrace240---
comments powered by Disqus
WUtils.com