diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-08 08:43:42 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-09 21:04:50 +0000 |
commit | abc17b0f8997ab07ae66130edd5dc8c43e72c886 (patch) | |
tree | 88056839c808a9f7f8c58f55ebe273aa7b5facdb /auto_tests/toxav_many_test.c | |
parent | 4e21c065517d6e125cb1d1b9a13e886b3046b0d8 (diff) |
Factor out time keeping code into its own module: mono_time.c.
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
```
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r-- | auto_tests/toxav_many_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index e89a6823..94183421 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c | |||
@@ -176,6 +176,8 @@ static void *call_thread(void *pd) | |||
176 | 176 | ||
177 | printf("Closing thread\n"); | 177 | printf("Closing thread\n"); |
178 | pthread_exit(nullptr); | 178 | pthread_exit(nullptr); |
179 | |||
180 | return nullptr; | ||
179 | } | 181 | } |
180 | 182 | ||
181 | static void test_av_three_calls(void) | 183 | static void test_av_three_calls(void) |