Kenneth Skovhede
645c07dedd
Fixed an issue with sleep prevention giving warnings in rare cases
2025-04-03 17:16:12 +02:00
Kenneth Skovhede
1855195d48
Improve Windows anti-sleep
...
This updates the Windows sleep prevention code to repeatedly reset the sleep timer every 10s if sleep is not allowed.
Previous implementation would only call it once, which is not sufficient to prevent sleep as the timer will eventually run out.
2025-03-28 14:21:23 +01:00
Kenneth Skovhede and GitHub
9464caf622
Feature/update license 2025 ( #5851 )
...
* Fixed some minor whitespace issues
* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Jojo-1000
930f1c8bd3
Fix most unsupported platform warnings.
2024-05-30 01:50:02 +02:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Achim Schaefer
5fa8e58f8d
Bugfix issue #3920
...
only "best-effort" and "realtime" allow a priotity level
"none" and "idle" have no prioity level
2020-11-05 15:49:48 +01:00
Kenneth Hsu
83ac03843d
Fix spelling errors in comments.
...
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
drwtsn32x
942d8b820d
removed getter
2019-11-26 19:27:46 -08:00
drwtsn32x
f599336bf0
tweak for codacity
2019-11-22 08:26:38 -08:00
drwtsn32x
77a1e3b88a
disable attribute masking
2019-11-22 08:00:58 -08:00
verhoek
8bb406cd15
Migrated to use the platform class.
2018-11-02 22:17:16 +01:00
verhoek
07ae90f325
Simplified plus made defaults explicit.
2018-06-12 09:41:40 +02:00
Kenneth Skovhede
04c7218a08
Added some extra logging and error checking for the IO priority handler
2018-04-09 14:26:53 +02:00
Kenneth Skovhede
a980ed93a6
Implemented support for setting low IO priority on Windows, Linux, and MacOS
2018-03-16 23:25:06 +01:00
Kenneth Skovhede
20e2dcafb3
Moved the process control stuff into another class, so it can be disposed easily and contain its own state
2018-03-16 10:33:26 +01:00