This class is the event type class for ready thread events.
The following syntax is simplified from MOF code.
Syntax
[EventType{50}, EventTypeName{"ReadyThread"}]
class ReadyThread : Thread_V2
{
uint32 TThreadId;
sint8 AdjustReason;
sint8 AdjustIncrement;
sint8 Flag;
sint8 Reserved;
};
Members
The ReadyThread class has these types of members:
Properties
The ReadyThread class has these properties.
AdjustIncrement
Data type: sint8
Access type: Read-only
Qualifiers: WmiDataId(3)
The value by which the priority is being adjusted.
AdjustReason
Data type: sint8
Access type: Read-only
Qualifiers: WmiDataId(2)
The reason for the priority boost.
| Value | Meaning |
|---|---|
| 0 | Ignore the increment. |
| 1 | Apply the increment, which will decay incrementally at the end of each quantum. |
| 2 | Apply the increment as a boost that will decay in its entirety at quantum (typically for priority donation). |
Flag
Data type: sint8
Access type: Read-only
Qualifiers: WmiDataId(4)
The following are the possible state flags:
| Value | Meaning |
|---|---|
| 0x1 | The thread has been readied from DPC (deferred procedure call). |
| 0x2 | The kernel stack is currently swapped out. |
| 0x4 | The process address space is swapped out. |
Note that when the kernel stack or the process address space is swapped out, there will be an additional ReadyThread event after the kernel stack or the process address space has been swapped back in and the thread is made ready to be dispatched.
Reserved
Data type: sint8
Access type: Read-only
Qualifiers: WmiDataId(5)
Reserved.
TThreadId
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId(1), Format("x")
The thread identifier of the thread being readied for execution.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
