Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Screen/Windows: Allow disable of processor idling disable.
We want a way out of the new C-state switching prevention code on Windows. Now check for existence environment variable PSYCH_DONT_DISABLE_CPU_IDLING and don't disable processor idling / C-state switching if the variable is set. The new PsychTweak('DontDisableProcessorIdling', dontDisable) setting allows to control this from user scripts. Note this commit also changes end of line markers from DOS CR+LF to Unix LF, hence the potential impression of large scale changes in this file with some commit diff tools.
- Loading branch information