diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2022-01-18 14:32:15 -0800 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2022-01-18 14:32:15 -0800 |
commit | 5306c9d42460001670a90a8f091cef47c0aede2c (patch) | |
tree | 81fe60e2514cf066f963ebd095c4ada772c511f4 /core/rtkit.cpp | |
parent | 4920167fa0c90b276459107c18a67cf64bd11c4d (diff) |
Set niceness as a fallback only on Linux
If pthread_setschedparam and rtkit_make_realtime both fail, lowering niceness
can also work to boost priority. However, this only works on Linux and other
OSs that implement a per-thread niceness (POSIX standard has it per-process,
which isn't desirable behavior here).
Diffstat (limited to 'core/rtkit.cpp')
0 files changed, 0 insertions, 0 deletions