大网数据广告活动
性能与资源

ReadyThread class

· 52CE 我爱测

This class is the event type class for ready thread events. The following syntax is simplified from MOF code.

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

Thread_V2

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。