aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread/Util.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-31thread/Util: relicense to BSD-2Max Kellermann1-15/+25
2014-02-18Thread/Util: use __NR_ioprio_set instead of SYS_ioprio_setMax Kellermann1-1/+1
Bionic doesn't have the SYS_* macros.
2014-02-18Thread/Util: make SCHED_RESET_ON_FORK optionalMax Kellermann1-1/+7
Use it if it exists, but don't insist if the C library is poor (e.g. Bionic/Android).
2014-01-23thread/Util: set the SCHED_RESET_ON_FORK flag in SetThreadRealtime()Max Kellermann1-1/+1
2014-01-14OutputThread: use real-time priorityMax Kellermann1-0/+13
2014-01-14UpdateGlue: let the update thread run at "idle" priorityMax Kellermann1-0/+72
The update thread should not affect the rest of the system, therefore set "idle" priority, and let it only run when nobody else is using the resources.