Nick Mathewson
|
dddae36f5e
Merge remote-tracking branch 'dgoulet/ticket23696_032_01'
|
7 years ago |
David Goulet
|
070064de89
sched: Always initialize scheduler_last_run to now
|
7 years ago |
Matt Traudt
|
3ef7e6f187
sched: Don't get KIST stuck in an infinite loop
|
7 years ago |
Matt Traudt
|
7bbc29b0f2
sched: make interval a plain int; initialize with macro
|
7 years ago |
David Goulet
|
ef2a449cce
sched: Make KISTSchedRunInterval non negative
|
7 years ago |
Matt Traudt
|
22699e3f16
sched: only log when scheduler type changes
|
7 years ago |
Matt Traudt
|
4a3b61a5b3
sched: reorder code to fit comment bodies; comment typos
|
7 years ago |
Nick Mathewson
|
290274dbb5
Add a cast so that 32-bit compilation goes without errors
|
7 years ago |
David Goulet
|
77cc97cf0a
sched: Don't cast to int32_t the monotime_diff_msec() result
|
7 years ago |
Nick Mathewson
|
4519b7b469
kist_no_kernel_support is unused when we didn't detect it.
|
7 years ago |
Nick Mathewson
|
c1deabd3b0
Run our #else/#endif annotator on our source code.
|
7 years ago |
Nick Mathewson
|
a01e4a1a95
kist: Cast, then do operations on int32.
|
7 years ago |
Nick Mathewson
|
03e102c1bb
Make netinet/tcp include conditional too: windows lacks it.
|
7 years ago |
Nick Mathewson
|
44fa866621
fix some 32-bit warnings about printf arguments
|
7 years ago |
Nick Mathewson
|
fea2d84ce3
wrap a wide comment
|
7 years ago |
Matt Traudt
|
ae9e6b547d
sched: add comment about how we determine if a socket should write
|
7 years ago |
Matt Traudt
|
501c58187d
sched: add more per-socket limit documentation; int fix
|
7 years ago |
David Goulet
|
1033e14a69
sched: Define SCHEDULER_KIST_PRIVATE for more encapsulation
|
7 years ago |
David Goulet
|
734dbfa590
sched: Make the scheduler object static
|
7 years ago |
David Goulet
|
bd34a0d30f
sched: Compare channel pointer in the socket table
|
7 years ago |
David Goulet
|
e0984b8a51
sched: Make the outbuf table local to run()
|
7 years ago |
David Goulet
|
ba08f8a4ed
sched: Make check-spaces happy
|
7 years ago |
David Goulet
|
3d2d8d6841
sched: Extra careful in channel_outbuf_length()
|
7 years ago |
David Goulet
|
14cd8bdd4b
sched: Don't expose the global scheduler libevent object
|
7 years ago |
David Goulet
|
7cc9621d11
sched: Add Schedulers torrc option
|
7 years ago |
Matt Traudt
|
6ff8c86ac6
sched: change most asserts to non-fatal BUGs
|
7 years ago |
Matt Traudt
|
4bc97c6431
sched: revisist compatibility on non-linux systems
|
7 years ago |
Matt Traudt
|
7f1d643083
sched: validate KIST sched options
|
7 years ago |
Matt Traudt
|
61fc9c41ad
sched: switch to monotonic time; add/fix comments, style, and logs msgs
|
7 years ago |
David Goulet
|
a06f2a0509
sched: Fallback to naive approach if no runtime KIST support
|
7 years ago |