Lock

expect class Lock

Constructors

<init>

Lock()

Functions

lock

fun lock(): Unit

unlock

fun unlock(): Unit

Extension Functions

use

fun <R> Lock.use(block: () -> R): R