package cpp
Available on cpp
staticatomicDec(ioValue:Pointer<AtomicInt>):Int
Returns value before decrement.
staticatomicInc(ioValue:Pointer<AtomicInt>):Int
Returns value before increment.
staticexchangeIf(ioValue:Pointer<AtomicInt>, test:Int, newVal:Int):Bool
Returns true if exchange took place.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/AtomicInt.html