kotlin.jvm.Volatile

Volatile

@Target([AnnotationTarget.FIELD]) annotation class Volatile

Platform and version requirements: JVM

Marks the JVM backing field of the annotated property as volatile, meaning that writes to this field are immediately made visible to other threads.

Constructors

<init>

Volatile()

Marks the JVM backing field of the annotated property as volatile,