summaryrefslogtreecommitdiff
path: root/src/common/timers.h
AgeCommit message (Collapse)Author
2017-12-08Replace all FREE_AND_NULL* uses to take a type and a free function.Nick Mathewson
This commit was made mechanically by this perl script: \#!/usr/bin/perl -w -i -p next if /^#define FREE_AND_NULL/; s/\bFREE_AND_NULL\((\w+),/FREE_AND_NULL\(${1}_t, ${1}_free_,/; s/\bFREE_AND_NULL_UNMATCHED\(/FREE_AND_NULL\(/;
2017-12-08Switch to a safer FREE_AND_NULL implementationNick Mathewson
This one only evaluates the input once, so it cannot mess up even if there are side effects.
2017-12-08Convert the rest of src/common's headers to use FREE_AND_NULLNick Mathewson
2017-09-15Run our #else/#endif annotator on our source code.Nick Mathewson
2017-09-11Extract the important parts of the run-pending-timers function.Nick Mathewson
Our unit tests will need this, so that they can simulate advancing time without getting libevent involved.
2017-03-15Run the copyright update script.Nick Mathewson
2016-12-02Add accessor for inspecting timer callbacks.Nick Mathewson
2016-07-29Keep make check-spaces happyAndrea Shepard
2016-07-19convert timers.c to use real monotonic time.Nick Mathewson
2016-05-09Add wrappers to tie the new timeouts into libevent.Nick Mathewson