Skip to content

Native SynchronizedObject actualization split between Apple and Non-Apple source sets breaks dependent projects #520

@fzhinkin

Description

@fzhinkin

#499 split once single SynchronizedObject actualization between two source sets, apple and non-apple. On native, SynchronizedObject actualization provides three additional functions (tryLock, lock, unlock) and some projects, like kotlinx-coroutines use these functions in their corresponding native source sets.

After SynchronizedObject being split in two identical (in terms of public ABI) implementations in two different source sets, it is no longer possible to use those three functions from a common native source sets as they are only available in corresponding apple and native-non-apple source sets.

This is a regression and we need to continue providing tryLock, lock, unlock functions in native source set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmajorAn important problem that will require some effort

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions