windows driver development: context switch callback?
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?
精彩评论