summaryrefslogtreecommitdiffstats
path: root/fat-model-dependencies
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2020-07-15 14:51:05 +0000
committerTor Brede Vekterli <vekterli@verizonmedia.com>2020-07-15 14:51:05 +0000
commit36e706b6e351e3ff315fed49c124865f599139cf (patch)
tree9fe3096b215c8b77315f79a73724e1e7b23ee6c4 /fat-model-dependencies
parent59332ffc463715515f6e15d87834f0646e461ab9 (diff)
Ensure operation counting is thread-safe
With the introduction of async response handling, SPI getBucketInfo() can now be called from multiple threads concurrently. Test was not originally written with that in mind. Use std::atomic instead of unsafe raw increment. For future-proofing, also make other counters atomic.
Diffstat (limited to 'fat-model-dependencies')
0 files changed, 0 insertions, 0 deletions