summaryrefslogtreecommitdiff
path: root/toxcore/mono_time_test.cc
AgeCommit message (Collapse)Author
2018-09-14Use C++ style casts in C++ code.iphydf
2018-09-03Avoid use of global mutable state in mono_time on win32.iphydf
This uses a trick to get read-write access to `this` from a `const` member function, similar to C++ `mutable`, but uglier.
2018-08-26Add support for setting a custom monotonic time function in mono_timezugz (tox)
2018-08-26Fix test class name for mono_time_test.iphydf
Was: Util, should be: MonoTime.
2018-08-16Use per-instance `Mono_Time` for Messenger and onion.iphydf
2018-07-09Factor out time keeping code into its own module: mono_time.c.iphydf
It turns out, `unix_time` is also monotonic, and is used as such, so I've renamed the new functions to `mono_time_*`. 2018-07-08: ``` 00:01 <@irungentoo> the idea used to be that the unix_time() function could go backward in time but I think I might have started using it like if it could not after I changed it so that it would never go back in time ```