change time_monotonic_ms() from time_t to int64_t

time_monotonic_ms values did wrap every ~24 days, leading to problems
in code that did not cope with that. Instead of fixing all places where
relative comparisons with time_monotonic_ms() are made, just use a
bigger datatype. Convert all users to the new type.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 99c8168d2c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2017-09-23 21:35:01 +02:00
committed by Jacek Jendrzej
parent f11cfa4163
commit 45497cd5c7
8 changed files with 28 additions and 24 deletions

View File

@@ -6,8 +6,8 @@
extern "C"
{
#endif
extern time_t time_monotonic_ms(void);
extern time_t time_monotonic(void);
time_t time_monotonic(void);
int64_t time_monotonic_ms(void);
uint64_t time_monotonic_us(void);
#ifdef __cplusplus
}