aboutsummaryrefslogtreecommitdiff
path: root/src/or/scheduler.h
AgeCommit message (Collapse)Author
2017-03-15Run the copyright update script.Nick Mathewson
2016-06-11Add -Wmissing-variable-declarations, with attendant fixesNick Mathewson
This is a big-ish patch, but it's very straightforward. Under this clang warning, we're not actually allowed to have a global variable without a previous extern declaration for it. The cases where we violated this rule fall into three roughly equal groups: * Stuff that should have been static. * Stuff that was global but where the extern was local to some other C file. * Stuff that was only global when built for the unit tests, that needed a conditional extern in the headers. The first two were IMO genuine problems; the last is a wart of how we build tests.
2016-02-27Update the copyright year.Nick Mathewson
2015-02-06Fix scheduler compilation on targets where char is unsigned.Yawning Angel
Per discussion with nickm, the `dir` argument should be a int rather than a signed char. Fixes bug #14764.
2015-01-02Bump copyright dates to 2015, in case someday this matters.Nick Mathewson
2014-10-07Make queue thresholds and flush size for global scheduler into config optionsAndrea Shepard
2014-09-30Make scheduler_compare_channels() mockableAndrea Shepard
2014-09-30Make scheduler_run() mockableAndrea Shepard
2014-09-30Expose scheduler_compare_channels() to test suiteAndrea Shepard
2014-09-30Make some scheduler.c static functions visible to the test suiteAndrea Shepard
2014-09-30Make scheduler_channel_doesnt_want_writes() mockableAndrea Shepard
2014-09-30Make scheduler_channel_doesnt_want_writes() mockableAndrea Shepard
2014-09-30Make scheduler_release_channel() mockableAndrea Shepard
2014-09-30Implement scheduler_touch_channel()Andrea Shepard
2014-09-30Schedule according to a queue size heuristicAndrea Shepard
2014-09-30Implement scheduler mechanism to track lists of channels wanting cells or ↵Andrea Shepard
writes; doesn't actually drive the cell flow from it yet