Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

ReadyThread class

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.

ValueMeaning
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:

ValueMeaning
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

See also

Thread_V2

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.