diff --git a/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/ObjectTransfer.kt b/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/ObjectTransfer.kt index 9820f1d75e5..cdc77bfa12c 100644 --- a/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/ObjectTransfer.kt +++ b/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/ObjectTransfer.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license + * Copyright 2010-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ @@ -9,6 +9,9 @@ import kotlinx.cinterop.* import kotlin.native.internal.Frozen /** + * Note: modern Kotlin/Native memory manager allows to share objects between threads without additional ceremonies, + * so TransferMode has effect only in legacy memory manager. + * * ## Object Transfer Basics. * * Objects can be passed between threads in one of two possible modes.