package eu.friedcutlet.yokan.util import java.util.concurrent.locks.ReentrantLock import kotlin.concurrent.withLock internal actual class PlatformLock actual constructor() { private val delegate = ReentrantLock() actual fun withLock(block: () -> T): T = delegate.withLock(block) }