See [the following table to replace the calls inside the DPC routine that acquire and release spin locks](https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/converting-an-ordinary-dpc-to-a-threaded-dpc)
See the following table to replace the calls inside the DPC routine that acquire and release spin locks