Home
last modified time | relevance | path

Searched refs:afterRMW (Results 1 – 3 of 3) sorted by relevance

/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
DAtomicFU.kt93 if (result) interceptor.afterRMW(this, expect, update) in atomic()
103 interceptor.afterRMW(this, oldValue, value) in atomic()
157 if (result) interceptor.afterRMW(this, expect, update) in compareAndSet()
168 interceptor.afterRMW(this, (oldValue == 1), value) in getAndSet()
213 if (result) interceptor.afterRMW(this, expect, update) in compareAndSet()
223 interceptor.afterRMW(this, oldValue, value) in getAndSet()
233 interceptor.afterRMW(this, oldValue, oldValue + 1) in getAndIncrement()
243 interceptor.afterRMW(this, oldValue, oldValue - 1) in getAndDecrement()
253 interceptor.afterRMW(this, oldValue, oldValue + delta) in getAndAdd()
263 interceptor.afterRMW(this, newValue - delta, newValue) in addAndGet()
[all …]
DInterceptor.kt38 open fun <T> afterRMW(ref: AtomicRef<T>, oldValue: T, newValue: T) {} in afterRMW() method in kotlinx.atomicfu.AtomicOperationInterceptor
39 open fun afterRMW(ref: AtomicInt, oldValue: Int, newValue: Int) {} in afterRMW() method in kotlinx.atomicfu.AtomicOperationInterceptor
40 open fun afterRMW(ref: AtomicLong, oldValue: Long, newValue: Long) {} in afterRMW() method in kotlinx.atomicfu.AtomicOperationInterceptor
41 open fun afterRMW(ref: AtomicBoolean, oldValue: Boolean, newValue: Boolean) {} in afterRMW() method in kotlinx.atomicfu.AtomicOperationInterceptor
DLockFreedomTestEnvironment.kt465 override fun <T> afterRMW(ref: AtomicRef<T>, oldValue: T, newValue: T) = step() in <lambda>() method in kotlinx.atomicfu.Interceptor
466 override fun afterRMW(ref: AtomicInt, oldValue: Int, newValue: Int) = step() in <lambda>() method in kotlinx.atomicfu.Interceptor
467 override fun afterRMW(ref: AtomicLong, oldValue: Long, newValue: Long) = step() in <lambda>() method in kotlinx.atomicfu.Interceptor