Converting an Ordinary DPC to a Threaded DPC
Converting an ordinary DPC to a threaded DPC is straightforward. Simply replace the call to KeInitializeDpc (which initializes the DPC) with one to KeInitializeThreadedDpc, and refer to the following table to replace the calls inside the DPC routine that acquire and release spin locks.
Ordinary DPC call | Corresponding threaded DPC call |
---|---|
You do not need to change calls to other spin lock routines, such as KeAcquireSpinLock or KeAcquireInStackQueuedSpinLock.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for