diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-07-25 01:21:39 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-07-25 01:49:22 +0200 |
commit | 27637b9e7f6f7dc59768623225a687f2d595692f (patch) | |
tree | 0760d15438128adc519e7f09191f78aef0c3fc71 /platform | |
parent | e15a0c52437d1a3be1128641c33b994624e6bfe9 (diff) |
Improve/add atomics
- Remove use of non-builtin overloaded `InterlockedExhangeSubtract()` for Windows. Moreover, it was wrongly being used as if it hadn't a 64-bit version instead of being overloaded.
- Implement exchange-if-greater (as a CAS loop).
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions