1package eu.friedcutlet.yokan.util23import java.util.concurrent.locks.ReentrantLock4import kotlin.concurrent.withLock56internal actual class PlatformLock actual constructor() {7 private val delegate = ReentrantLock()89 actual fun <T> withLock(block: () -> T): T = delegate.withLock(block)10}11