Thread Switching on Uniprocessor

Hi,
I need to write a debugger for Windows2000 that log thread switching for a
Uniprocessor system.
I know that there’s an Undocumented function name
KeSetSwapContextNotifyRoutine that can
do that on Multiprocessor system but not on Uniprocessor system. I want to
know if somebody
could give me hint about the way to do it. Maybe you could told me where the
Undocumented function
SwapContext is calling in Windows2000.

thanks for help


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The follow article contains one solution to this problem. The
essential of the problem that there - to my knowledge - is no exposed
interface in win2k to allow for context monitoring.

http://msdn.microsoft.com/msdnmag/issues/1000/VTrace/VTrace.asp

Regards,
Anders Fogh

Friday, February 09, 2001, 11:47:33 AM, you wrote:

FC> Hi,
FC> I need to write a debugger for Windows2000 that log thread switching for a
FC> Uniprocessor system.
FC> I know that there’s an Undocumented function name
FC> KeSetSwapContextNotifyRoutine that can
FC> do that on Multiprocessor system but not on Uniprocessor system. I want to
FC> know if somebody
FC> could give me hint about the way to do it. Maybe you could told me where the
FC> Undocumented function
FC> SwapContext is calling in Windows2000.

FC> thanks for help

FC> —
FC> You are currently subscribed to ntdev as: xxxxx@flaffer.com
FC> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Best regards,
Anders mailto:xxxxx@flaffer.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com