Skip to content

Conversation

@mvicsokolova
Copy link
Collaborator

@mvicsokolova mvicsokolova commented Aug 15, 2023

This commit replaces deprecated native atomics from kotlin.native.concurrent package with new atomics from kotlin.concurrent, because deprecation levels of native atomics were updated for 1.9.20 (see KT-58123)

This commit was only present in the kotln-community/dev branch, now it's moving to develop.

These commits (a8306a0242a93f9a8cea95ae447344e86030b11c and e57c0ce63996fdcf26e4bc2dfa9d8bc7af0b6c0f should be removed from the kotlin-community/dev branch and it should be rebased onto develop again.

This commit replaces deprecated native atomics from kotlin.native.concurrent package with new atomics from kotlin.concurrent, because deprecation levels of native atomics were updated for 1.9.20 (see KT-58123)
In order to use new native atomics from kotlin.concurrent package available since Kotlin 1.9, it is required to update apiVersion to 1.9. apiVersion of atomicfu-gradle-plugin is kept equal to 1.4 for compatibility.
@mvicsokolova mvicsokolova force-pushed the update-native-atomics-implementation branch from cf35e92 to 450d638 Compare August 15, 2023 12:46
@mvicsokolova
Copy link
Collaborator Author

It's better to merge these changes as 2 separate commits, so it would be easier to track these changes later.

@mvicsokolova mvicsokolova merged commit 75667aa into develop Aug 15, 2023
@mvicsokolova mvicsokolova deleted the update-native-atomics-implementation branch August 15, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants