About _KPRCB

Hi all:
I don’t know what NextThread member in _KPRCB
mean and how to choose a thread to be the NextThread.
If someone can explain how KiReadyThread execute
,that will be great.
Thanks

This is not a field you should be tinkering with under any circumstances.
This belongs to the OS.

The point of NextThread is that this thread is ready to run and has been
chosen to run on the given processor. It is *not* present in the ready list
(or ready lists) and is part of the micro-kernel’s scheduling mechanism.

Scheduling is not a constant thing in Windows. In Windows Server 2003 the
way that MP scheduling is done has changed completely - the ready list is
*gone*, the serialization mechanisms are different and even if you figure
out how it works on Windows 2000 and XP your findings will not apply to
Windows Server 2003.

If you explain what you are trying to accomplish, the folks on this list can
provide alternative suggestions.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
?
-----Original Message-----
From: spy [mailto:su.spy@163.com]
Sent: Tuesday, May 13, 2003 10:23 AM
To: NT Developers Interest List
Subject: [ntdev] About _KPRCB

Hi all:
??? I don’t know what NextThread member in _KPRCB
mean and how to choose a thread to be the NextThread.
If someone can explain how KiReadyThread execute
,that will be great.
Thanks
?

Thanks,Tony
I am just interested in scheduling algorithms in xp regardless it will change or not.:slight_smile:

----- Original Message -----
From: “Tony Mason”
To: “NT Developers Interest List”
Sent: Tuesday, May 13, 2003 10:34 PM
Subject: [ntdev] RE: About _KPRCB

This is not a field you should be tinkering with under any circumstances.
This belongs to the OS.

The point of NextThread is that this thread is ready to run and has been
chosen to run on the given processor. It is not present in the ready list
(or ready lists) and is part of the micro-kernel’s scheduling mechanism.

Scheduling is not a constant thing in Windows. In Windows Server 2003 the
way that MP scheduling is done has changed completely - the ready list is
gone, the serialization mechanisms are different and even if you figure
out how it works on Windows 2000 and XP your findings will not apply to
Windows Server 2003.

If you explain what you are trying to accomplish, the folks on this list can
provide alternative suggestions.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: spy [mailto:su.spy@163.com]
Sent: Tuesday, May 13, 2003 10:23 AM
To: NT Developers Interest List
Subject: [ntdev] About _KPRCB

Hi all:
I don’t know what NextThread member in _KPRCB
mean and how to choose a thread to be the NextThread.
If someone can explain how KiReadyThread execute
,that will be great.
Thanks


You are currently subscribed to ntdev as: su.spy@163.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Why do you need this? Is KeSetEvent not enough to awaken a thread?

----- Original Message -----
From: spy
To: NT Developers Interest List
Sent: Tuesday, May 13, 2003 6:22 PM
Subject: [ntdev] About _KPRCB

Hi all:
I don’t know what NextThread member in _KPRCB
mean and how to choose a thread to be the NextThread.
If someone can explain how KiReadyThread execute
,that will be great.
Thanks

b??箷????vڵ?j??)???i??d??{.n???zwZnV??隊[h???z{]z?u߮F?-??+