W3cubDocs

/Haxe C++

AtomicInt

package cpp

from Int to Int

Available on cpp

Static methods

@:noExpr @:native("_hx_atomic_dec") static atomicDec (ioValue:Pointer<AtomicInt>):Int

@:noExpr @:native("_hx_atomic_dec") static atomicDec (ioValue:Pointer<AtomicInt>):Int

@:noExpr @:native("_hx_atomic_inc") static atomicInc (ioValue:Pointer<AtomicInt>):Int

@:noExpr @:native("_hx_atomic_inc") static atomicInc (ioValue:Pointer<AtomicInt>):Int

@:noExpr @:native("_hx_atomic_exchange_if") static exchangeIf (ioValue:Pointer<AtomicInt>, test:Int, newVal:Int):Bool

@:noExpr @:native("_hx_atomic_exchange_if") static exchangeIf (ioValue:Pointer<AtomicInt>, test:Int, newVal:Int):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cpp/AtomicInt.html