Server-side thread priorities implementation (Part 1)
This is the current proton thread priority implementation by @rbernon rebased for upstream with a few #ifdef
s added since AFAIK Linux is the only operating system where threads have a unique PID which can be used to set niceness on.
I also ran
A few tiny changes ./tools/make_requests
on mzent/wine@6705d348 as well and autoconf
on mzent/wine@d7bafe40 (which does blow up the line count a bit).(with the ready variable for example) are in anticipation for Part 2, which also adds Mach thread priorities and recalculates thread priorities on process priority change.
Since this is a rather large MR, I hope the split here is appropriate (with the second part being slightly smaller), but I think logically it makes the most sense here.
Edited by Marc-Aurel Zent