commit | e2e8c6779e54ab86edd80697fe1e5c80633eaca6 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 08 14:40:18 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Nov 15 13:43:08 2019 +0100 |
tree | 80ed62109c397f6237f1779945cdee651707c081 | |
parent | b2e58492b141f1e2f6d9db4c50b8dd0e5db63ee9 [diff] |
MINOR: freq_ctr: Make the sliding window sums thread-safe swrate_add() and swrate_add_scaled() now rely on the CAS atomic operation. So the sliding window sums are atomically updated.