diff options
author | zoff99 <zoff@zoff.cc> | 2018-02-05 21:07:26 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-17 16:32:25 +0000 |
commit | 82662d4e16937997c36d2090a17c3b2389fa4ad5 (patch) | |
tree | 2edd3ed06711e7b04a0584daac6986026e299dcd /toxcore/util.h | |
parent | 35f13ef51dbf99c3d45d04f572e9e88795df7ae6 (diff) |
Make outgoing Filetransfers round-robin.
Instead of 1 FT blocking all others.
Diffstat (limited to 'toxcore/util.h')
-rw-r--r-- | toxcore/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/util.h b/toxcore/util.h index 8c86158b..a9faa863 100644 --- a/toxcore/util.h +++ b/toxcore/util.h | |||
@@ -65,6 +65,9 @@ int load_state(load_state_callback_func load_state_callback, Logger *log, void * | |||
65 | /* Returns -1 if failed or 0 if success */ | 65 | /* Returns -1 if failed or 0 if success */ |
66 | int create_recursive_mutex(pthread_mutex_t *mutex); | 66 | int create_recursive_mutex(pthread_mutex_t *mutex); |
67 | 67 | ||
68 | int32_t max_s32(int32_t a, int32_t b); | ||
69 | uint64_t min_u64(uint64_t a, uint64_t b); | ||
70 | |||
68 | #ifdef __cplusplus | 71 | #ifdef __cplusplus |
69 | } // extern "C" | 72 | } // extern "C" |
70 | #endif | 73 | #endif |