[K/N] Updated deprecations for native atomics
* Removed deprecated methods from the new atomics in kotlin.concurrent * Changed deprecation level from WARNING to ERROR for the old atomics in kotlin.native.concurrent * Removed FreezingIsDeprecated annotation from kotlin.concurrent.AtomicReference See KT-58123 Merge-request: KT-MR-10650 Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
import objclib.*
|
||||
|
||||
import kotlin.concurrent.AtomicInt
|
||||
import kotlin.native.concurrent.*
|
||||
import kotlin.native.internal.test.testLauncherEntryPoint
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@file:OptIn(FreezingIsDeprecated::class, ObsoleteWorkersApi::class)
|
||||
|
||||
import kotlin.concurrent.AtomicReference
|
||||
import kotlin.native.concurrent.*
|
||||
import kotlinx.cinterop.*
|
||||
import kotlin.test.*
|
||||
|
||||
Reference in New Issue
Block a user