aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_mainloop.c
AgeCommit message (Collapse)Author
2018-12-13Unit tests for back-end functions for persistent dormant stateNick Mathewson
2018-11-26Test for check_network_participation_callback()Nick Mathewson
2018-11-26Test netstatus.c tracking of user participation statusNick Mathewson
2018-09-21Split main.c into main.c and mainloop.cNick Mathewson
The main.c code is responsible for initialization and shutdown; the mainloop.c code is responsible for running the main loop of Tor. Splitting the "generic event loop" part of mainloop.c from the event-loop-specific part is not done as part of this patch.
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-03Replace U64_LITERAL with the standard UINT64_CNick Mathewson
2018-06-20Run rectify_include_paths.pyNick Mathewson
2018-05-09Distinguish true clock jumps from idlenessNick Mathewson
Since we're going to be disabling the second-elapsed callback, we're going to sometimes have long periods when no events file, and so the current second is not updated. Handle that by having a better means to detect "clock jumps" as opposed to "being idle for a while". Tolerate far more of the latter. Part of #26009.
2018-05-03Basic unit tests for update_current_time().Nick Mathewson
This function is about to get more complicated, so we should track how it's working.