AtomicReference

fun <T> AtomicReference(value: T)

Creates a new atomic reference pointing to given ref.

Throws

if reference is not frozen.