ReentrantLock

expect class ReentrantLock
actual class ReentrantLock

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
expect fun lock()
actual inline fun lock()
Link copied to clipboard
expect fun tryLock(): Boolean
actual inline fun tryLock(): Boolean
Link copied to clipboard
expect fun unlock()
actual inline fun unlock()
Link copied to clipboard
expect inline fun <T> ReentrantLock.withLock(block: () -> T): T
actual inline fun <T> ReentrantLock.withLock(block: () -> T): T