summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-12 12:18:33 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-27 16:28:59 -0400
commitefadebf7c37d6ed309a2e54f4679fbfe3af0bcdf (patch)
tree854f72f1490740cba7c445b2f7adad8cc4865cf8 /INSTALL
parent10e0bff4caba483d971d2a4718a40f62530a66ed (diff)
downloadtor-efadebf7c37d6ed309a2e54f4679fbfe3af0bcdf.tar.gz
tor-efadebf7c37d6ed309a2e54f4679fbfe3af0bcdf.zip
Make the chance for priority inversion thread-specific
Instead of choosing a lower-priority job with a 1/37 chance, have the chance be 1/37 for half the threads, and 1/2147483647 for the other half. This way if there are very slow jobs of low priority, they shouldn't be able to grab all the threads when there is better work to do.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions