mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Merge branch 'dev'
This commit is contained in:
@@ -119,7 +119,7 @@ namespace bx
|
||||
do
|
||||
{
|
||||
oldVal = newVal;
|
||||
newVal = atomicCompareAndSwap(_ptr, oldVal, newVal);
|
||||
newVal = atomicCompareAndSwap(_ptr, oldVal, newVal + _add);
|
||||
|
||||
} while (oldVal != newVal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user