tor/src/lib/intmath
Nick Mathewson b5c04173c8 Change interaction between dormant mode and clock jumps.
When the clock jumps, and we have a record of last user activity,
adjust that record.  This way if I'm inactive for 10 minutes and
then the laptop is sleeping for an hour, I'll still count as having
been inactive for 10 minutes.

Previously, we treat every jump as if it were activity, which is
ridiculous, and would prevent a Tor instance with a jumpy clock from
ever going dormant.
2018-12-13 08:25:54 -05:00
..
.may_include Extract simple integer math into its own module 2018-06-22 09:49:13 -04:00
addsub.c File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
addsub.h File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
bits.c Replace U64_LITERAL with the standard UINT64_C 2018-07-03 10:33:50 -04:00
bits.h File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
cmp.h Change interaction between dormant mode and clock jumps. 2018-12-13 08:25:54 -05:00
include.am Move bool_eq and bool_neq to lib/intmath 2018-06-29 12:21:52 -04:00
logic.h File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
muldiv.c File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
muldiv.h File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
weakrng.c File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00
weakrng.h File-level documentation for some of src/lib. 2018-07-01 20:22:55 -04:00