Skip to content

Commit 0a74d6f

Browse files
mvicsokolovawoainikk
authored andcommitted
Use kotlin.concurrent.AtomicInt in SynchronizedTest instead of the old kotlin.native.concurrent.AtomicInt.
Atomics from kotlin.native.concurrent package are deprecated with error since 1.9.20 See KT-58123
1 parent dbdcd85 commit 0a74d6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

atomicfu/src/nativeTest/kotlin/kotlinx/atomicfu/locks/SynchronizedTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package kotlinx.atomicfu.locks
22

3+
import kotlin.concurrent.AtomicInt
34
import kotlin.native.concurrent.*
45
import kotlin.test.*
56

0 commit comments

Comments
 (0)