hello, do I have to instantiate a lock object or i...
# coroutines
o
hello, do I have to instantiate a lock object or is there a parent one, in this https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/synchronized.html#kotlin$synchronized(kotlin.Any,%20kotlin.Function0((kotlin.synchronized.R)))/block . If I have to instantiate a lock, then can I do so,can you provide an example??