Nick Mathewson
|
1eede00a4b
Merge branch 'ticket26063_squashed'
|
6 years ago |
Nick Mathewson
|
e722bba263
Add a new function to enable/disable the per-second timer as needed
|
6 years ago |
Nick Mathewson
|
b0598f2a12
Move the "update the current second" code from second_elapsed_callback
|
6 years ago |
Nick Mathewson
|
234e317ef1
Ensure that voting is rescheduled whenever the schedule changes.
|
6 years ago |
Nick Mathewson
|
987a7f6676
Move responsibility for or_state_save() to a scheduled callback
|
6 years ago |
David Goulet
|
d6903e9e87
hibernation: Rescan the event list on state change
|
6 years ago |
Nick Mathewson
|
302908657f
Fix a test assertion failure due to uninitialized mainloop events
|
6 years ago |
Nick Mathewson
|
96c5ac338a
Move close-and-cleanup functions to a postloop event.
|
6 years ago |
Nick Mathewson
|
192c7c8bf9
Merge remote-tracking branch 'dgoulet/ticket25762_034_05'
|
6 years ago |
David Goulet
|
665e23c59a
test: Add periodic events unit tests
|
6 years ago |
David Goulet
|
1d864987cb
config: Set up periodic events when options changes
|
6 years ago |
Nick Mathewson
|
780d1b44cf
Move responsibility for recording read/written bytes
|
6 years ago |
Nick Mathewson
|
34c2574aa9
Merge branch 'token_bucket_once_again_squashed'
|
6 years ago |
Nick Mathewson
|
61d87dfa15
Merge branch 'postloop_callbacks_2'
|
6 years ago |
Nick Mathewson
|
4c03af4880
Remove tell_event_loop_to_run_external_code() per review
|
6 years ago |
Nick Mathewson
|
03b96882de
Rename token_bucket_t to token_bucket_rw_t.
|
6 years ago |
Nick Mathewson
|
a38fd9bc5b
Replace the global buckets with token_bucket_t
|
6 years ago |
Caio Valente
|
a4c8531260
refactor: using get_uptime() (and reset_uptime()) consistently.
|
6 years ago |
Nick Mathewson
|
edd427a8ba
Merge branch 'disable_signal_handlers'
|
6 years ago |
Nick Mathewson
|
7ca0a9c4ae
Merge remote-tracking branch 'ahf-oniongit/bugs/24605'
|
6 years ago |
Nick Mathewson
|
18543c2c9b
Merge remote-tracking branch 'ffmancera/github/bug23271'
|
6 years ago |
Alexander Færøy
|
d4f4108601
Add MainloopStats option.
|
7 years ago |
Nick Mathewson
|
fdd5734875
Remove the unused is_parent==0 option from handle_signals.
|
7 years ago |
Fernando Fernandez Mancera
|
61c721f145
Add remove file function and remove ephemeral files.
|
7 years ago |
Nick Mathewson
|
ef25f957e7
Merge branch 'tor_api_squashed'
|
7 years ago |
Nick Mathewson
|
fa02ea102e
Add a public tor_api.h with an implementation in tor_api.c
|
7 years ago |
Nick Mathewson
|
f0c3b62381
Expose a new function to make the event loop exit once and for all.
|
7 years ago |
Nick Mathewson
|
78cbced45c
Rename "tell_event_loop_to_finish" to "...run_external_code"
|
7 years ago |
Nick Mathewson
|
c1deabd3b0
Run our #else/#endif annotator on our source code.
|
7 years ago |
Nick Mathewson
|
2e4f3b36bd
clang-i386: use house style for public-when-testing variables
|
7 years ago |