Windows driver: simplify TCSleep to use KeDelayExecutionThread Replace timer-based TCSleep (which allocated a KTIMER and waited on it) with an implementation that calls KeDelayExecutionThread. This removes dynamic allocation and kernel timer usage to simplify the code and reduce resource overhead. Adds an IRQL <= APC_LEVEL assertion and documents the requirement. This is safe because TCSleep is always called from code that runs at PASSIVE_LEVEL
Recent Commits to VeraCrypt:master
-
Windows driver: simplify TCSleep to use KeDelayExecutionThread