set

fun set(value: Boolean)

Sets the boolean value in a thread-safe manner, entering and leaving the monitor.

Parameters

value

the new boolean value.