aboutsummaryrefslogtreecommitdiffstats
path: root/core/helpers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't assume rlim_t is unsignedChris Robinson2022-07-221-3/+4
|
* Search the installation data directory (#693)ilya-fedin2022-05-131-0/+14
| | | That allows the logic to work on non-FHS distros like NixOS
* Don't enable RTKit/D-Bus support on WindowsChris Robinson2022-05-091-12/+11
|
* Fix an unused parameter warningChris Robinson2022-02-231-1/+6
| | | | ... when either pthread_setschedparam or RTKit aren't available.
* Handle _gettid on FreeBSDChris Robinson2022-01-181-2/+2
| | | | And simplify handling D-Bus/RTKit interfaces
* Set niceness as a fallback only on LinuxChris Robinson2022-01-181-0/+9
| | | | | | | 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).
* Handle the rt-prio config options as the priority levelChris Robinson2022-01-181-82/+111
|
* Downgrade some ERRs to WARNsChris Robinson2021-11-211-1/+1
|
* Avoid shadowing a variable nameChris Robinson2021-05-131-2/+2
|
* Update include headersChris Robinson2021-04-271-2/+3
| | | | Don't add alc/ to the include paths.
* Avoid over-long linesChris Robinson2021-04-221-2/+5
|
* Move helpers.cpp to coreChris Robinson2021-04-221-0/+510