Searched defs:withLock (Results 1 – 10 of 10) sorted by relevance
12 fun withLock() { in <lambda>() method in kotlinx.atomicfu.test.SimpleLockTest24 fun <T> withLock(block: () -> T): T { in withLock() method in kotlinx.atomicfu.test.SimpleLock
15 public actual inline fun <T> ReentrantLock.withLock(block: () -> T): T { in reentrantLock() method
9 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = action() in withLock() method
22 internal expect inline fun <T> ReentrantLock.withLock(action: () -> T): T method
18 public actual inline fun <T> ReentrantLock.withLock(block: () -> T) = block() method
13 public expect inline fun <T> ReentrantLock.withLock(block: () -> T): T method
17 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = this.withLockJvm(action) in subscriberList() method
163 public actual inline fun <T> ReentrantLock.withLock(block: () -> T): T { in lock() method
109 public suspend inline fun <T> Mutex.withLock(owner: Any? = null, action: () -> T): T { in Mutex() method