compareAndExchange
Atomically stores the given new value into this AtomicNativePtr if the current value equals the expected value and returns the old value in any case.
Comparison of values is done by value.
Atomically stores the given new value into this AtomicNativePtr if the current value equals the expected value and returns the old value in any case.
Comparison of values is done by value.
Thanks for your feedback!