diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-05 08:37:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-13 07:02:53 +0200 |
commit | 63e1bb6605d78af73e52cc2ac38b46bd8d15c5f3 (patch) | |
tree | 8a6a1d9eded505f719925784f84a633c91024371 /logic/work.cpp | |
parent | f128b1de42cf8b2d9b50f57561a205073b9e250d (diff) |
logic/pipeline: fix atomic ops
No functional changes.
Don't perform any atomic reads before compare-and-swap.
The value read by CAS needs to go outside the loop.
That's how CAS works.
Diffstat (limited to 'logic/work.cpp')
0 files changed, 0 insertions, 0 deletions