diff options
author | Matt Joiner <anacrolix@gmail.com> | 2019-11-04 18:45:41 +1100 |
---|---|---|
committer | Matt Joiner <anacrolix@gmail.com> | 2019-11-04 18:45:41 +1100 |
commit | 35df7f259b6300abd052f166b38100947c50fece (patch) | |
tree | 6ab726ace9daea73891c107866c704eca4576e0c /bench_test.go | |
parent | Use atomic.Value for Var state (diff) | |
download | stm-35df7f259b6300abd052f166b38100947c50fece.tar.gz stm-35df7f259b6300abd052f166b38100947c50fece.tar.xz |
Fix TestDecrement
With only a single cpu it would spin endlessly without a synchronization point (since changing AtomicGet to use atomics).
Diffstat (limited to 'bench_test.go')
0 files changed, 0 insertions, 0 deletions