Home
last modified time | relevance | path

Searched defs:withLock (Results 1 – 10 of 10) sorted by relevance

/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DSimpleLockTest.kt12 fun withLock() { in <lambda>() method in kotlinx.atomicfu.test.SimpleLockTest
24 fun <T> withLock(block: () -> T): T { in withLock() method in kotlinx.atomicfu.test.SimpleLock
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt15 public actual inline fun <T> ReentrantLock.withLock(block: () -> T): T { in reentrantLock() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/internal/
DConcurrent.kt9 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = action() in withLock() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/internal/
DConcurrent.kt9 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = action() in withLock() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DConcurrent.common.kt22 internal expect inline fun <T> ReentrantLock.withLock(action: () -> T): T method
/external/kotlinx.atomicfu/atomicfu/src/jsMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt18 public actual inline fun <T> ReentrantLock.withLock(block: () -> T) = block() method
/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.common.kt13 public expect inline fun <T> ReentrantLock.withLock(block: () -> T): T method
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DConcurrent.kt17 internal actual inline fun <T> ReentrantLock.withLock(action: () -> T) = this.withLockJvm(action) in subscriberList() method
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt163 public actual inline fun <T> ReentrantLock.withLock(block: () -> T): T { in lock() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DMutex.kt109 public suspend inline fun <T> Mutex.withLock(owner: Any? = null, action: () -> T): T { in Mutex() method