开发者

windows driver development: context switch callback?

开发者 https://www.devze.com 2023-03-10 02:41 出处:网络
Is it possible for a driver to reg开发者_如何学JAVAister a callback in the kernel for every context switch?

Is it possible for a driver to reg开发者_如何学JAVAister a callback in the kernel for every context switch?

thanks!


No. Context switches happen too frequently. There are APIs to register yourself for notification of thread / process creation / termination (PsSetCreateProcessNotifyRoutine, etc). Maybe that would help?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号