diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-09-01 12:47:27 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-09-01 12:47:27 +0200 |
commit | 75680b1fa9d349387c898040f838c58bd20c53e4 (patch) | |
tree | d8f293d137dd66604032f0bc641ab882f2660a85 /rmbt-client/patches | |
parent | f030f0062a806dcbeae8c38bdf4c813f1feb05fb (diff) | |
download | turris-myrepo-75680b1fa9d349387c898040f838c58bd20c53e4.tar.gz turris-myrepo-75680b1fa9d349387c898040f838c58bd20c53e4.tar.bz2 turris-myrepo-75680b1fa9d349387c898040f838c58bd20c53e4.zip |
Add rmbt-client package
Diffstat (limited to 'rmbt-client/patches')
-rw-r--r-- | rmbt-client/patches/remove_stdatomic.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/rmbt-client/patches/remove_stdatomic.patch b/rmbt-client/patches/remove_stdatomic.patch new file mode 100644 index 0000000..d1a35a4 --- /dev/null +++ b/rmbt-client/patches/remove_stdatomic.patch @@ -0,0 +1,22 @@ +diff --git a/src/rmbt_flow.h b/src/rmbt_flow.h +index 310eb29..cba5814 100644 +--- a/src/rmbt_flow.h ++++ b/src/rmbt_flow.h +@@ -20,8 +20,6 @@ + #include "rmbt_common.h" + #include "rmbt_result.h" + +-#include <stdatomic.h> +- + typedef struct { + char *bind_ip, *server_host, *server_port, *cipherlist, *secret, *token, *test_id, *file_summary, *file_flows, *file_stats; + int_fast16_t dl_num_flows, ul_num_flows, dl_duration_s, ul_duration_s, rtt_tcp_payload_num, dl_pretest_duration_s, ul_pretest_duration_s, dl_wait_time_s, +@@ -32,7 +30,7 @@ typedef struct { + } TestConfig; + + typedef struct { +- atomic_bool global_abort; ++ volatile bool global_abort; + pthread_mutex_t mutex; + pthread_cond_t cond; + int_fast16_t total; |