Nick Mathewson
|
04b8af9dc0
Whitespace fixes
|
8 years ago |
Nick Mathewson
|
d1bcba19a9
Turn scheduler.c documentation into doxygen.
|
8 years ago |
Nick Mathewson
|
a8676b1ede
Merge branch 'bug18902_squashed'
|
8 years ago |
Nick Mathewson
|
4757303873
Fix all -Wshadow warnings on Linux
|
8 years ago |
Sebastian Hahn
|
265e40b481
Raise libevent dependency to 2.0.10-stable or newer
|
8 years ago |
Nick Mathewson
|
57699de005
Update the copyright year.
|
8 years ago |
Yawning Angel
|
16cf1679e7
Fix scheduler compilation on targets where char is unsigned.
|
9 years ago |
Nick Mathewson
|
f54e54b0b4
Bump copyright dates to 2015, in case someday this matters.
|
10 years ago |
Nick Mathewson
|
b94cb401d2
Coverity complained that we were not checking this return value
|
10 years ago |
Nick Mathewson
|
430f5852ac
Fix a signed/unsigned comparison warning in scheduler_run
|
10 years ago |
Nick Mathewson
|
e2641484a7
One more, appease "make check-spaces"
|
10 years ago |
Andrea Shepard
|
12b6c7df4a
Make queue thresholds and flush size for global scheduler into config options
|
10 years ago |
Andrea Shepard
|
dc3af04ba8
Make scheduler_compare_channels() mockable
|
10 years ago |
Andrea Shepard
|
f8ceb0f028
Make scheduler_run() mockable
|
10 years ago |
Andrea Shepard
|
b7125961de
Expose scheduler_compare_channels() to test suite
|
10 years ago |
Andrea Shepard
|
71a9ed6feb
Make some scheduler.c static functions visible to the test suite
|
10 years ago |
Andrea Shepard
|
9869254608
Make scheduler.c static globals visible to test suite
|
10 years ago |
Andrea Shepard
|
ade60890d0
Make scheduler_channel_doesnt_want_writes() mockable
|
10 years ago |
Andrea Shepard
|
fd57840a77
Make scheduler_channel_doesnt_want_writes() mockable
|
11 years ago |
Andrea Shepard
|
85ee070852
Make scheduler_release_channel() mockable
|
11 years ago |
Andrea Shepard
|
ac1b627e85
Implement scheduler_touch_channel()
|
11 years ago |
Andrea Shepard
|
ed1927d6bf
Use a non-stupid data structure in the scheduler
|
11 years ago |
Andrea Shepard
|
3530825c53
Eliminate some unnecessary smartlists in scheduler.c
|
11 years ago |
Andrea Shepard
|
63bb9a795e
Fix compiler warning
|
11 years ago |
Andrea Shepard
|
55907da28d
Sort the scheduler's channel list by cmux comparisons
|
11 years ago |
Andrea Shepard
|
1275002a46
Schedule according to a queue size heuristic
|
11 years ago |
Andrea Shepard
|
b09f41424c
Actually call channel_flush_some_cells() from the scheduler
|
11 years ago |
Andrea Shepard
|
2efbab2aaf
Provide generic mechanism for scheduler to query writeable cells on a channel
|
11 years ago |
Nick Mathewson
|
85ee5b3095
Use event_active, not 0-length timeouts. It's idempotent, too.
|
11 years ago |
Nick Mathewson
|
fc13184e44
Fix unused-arguments warnings
|
11 years ago |