W3cubDocs

/Haxe C++

AtomicInt

package cpp

from Int to Int

Available on cpp

Static methods

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