Constructs an AtomicNumberAny reference.
Constructs an AtomicNumberAny reference.
is the initial value with which to initialize the Atomic reference
Constructs an AtomicNumberAny reference, applying the provided PaddingStrategy in order to counter the "false sharing" problem.
Constructs an AtomicNumberAny reference, applying the provided PaddingStrategy in order to counter the "false sharing" problem.
Note that for Scala.js we aren't applying any padding, as it doesn't make much sense, since Javascript execution is single threaded, but this builder is provided for syntax compatibility anyway across the JVM and Javascript and we never know how Javascript engines will evolve.
is the initial value with which to initialize the atomic
is the PaddingStrategy to apply