diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-11-14 04:45:47 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 22:49:35 -0700 |
commit | 1275002a46dfb131f6db5c0fe28bc1828db327e2 (patch) | |
tree | ee0377d0be78e6ac2cb8c4d7bd445c1856b02618 /src/or/scheduler.h | |
parent | 4f567c8cc8cd68a8ca9bb93fc57d518d7eb55cf0 (diff) | |
download | tor-1275002a46dfb131f6db5c0fe28bc1828db327e2.tar.gz tor-1275002a46dfb131f6db5c0fe28bc1828db327e2.zip |
Schedule according to a queue size heuristic
Diffstat (limited to 'src/or/scheduler.h')
-rw-r--r-- | src/or/scheduler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/scheduler.h b/src/or/scheduler.h index b25e36e902..8fe59cb0b3 100644 --- a/src/or/scheduler.h +++ b/src/or/scheduler.h @@ -27,5 +27,8 @@ void scheduler_channel_wants_writes(channel_t *chan); /* Notify the scheduler of a channel being closed */ void scheduler_release_channel(channel_t *chan); +/* Notify scheduler of queue size adjustments */ +void scheduler_adjust_queue_size(channel_t *chan, char dir, uint64_t adj); + #endif /* !defined(TOR_SCHEDULER_H) */ |