Skip to content

RWMutex/Semaphore Redux #1182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Closed

Conversation

aleksclark
Copy link

@aleksclark aleksclark commented May 8, 2019

Ok, I apologize if this is bad form, I'm pretty new to the Java/Kotlin ecosystem. I've tried to take @btwilk 's work and update it to conform to the latest version of kotlinx.coroutines in support of issue #94 However, I haven't been able to get it to compile due to a problem with the compileKotlinJS task:

> Task :kotlinx-coroutines-core:compileKotlinJs FAILED
e: /home/aleks/data/work/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/ReadWriteMutex.kt: (13, 18): JavaScript name (ReadWriteMutex) generated for this declaration clashes with another declaration: fun ReadWriteMutex(): ReadWriteMutex
e: /home/aleks/data/work/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/ReadWriteMutex.kt: (22, 1): JavaScript name (ReadWriteMutex) generated for this declaration clashes with another declaration: interface ReadWriteMutex
e: /home/aleks/data/work/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/ReadWriteMutex.kt: (40, 33): Unresolved reference: describeAddLast
e: /home/aleks/data/work/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/Semaphore.kt: (42, 33): Unresolved reference: describeAddLast

I don't know what the deal is, as the api looks the same as Mutex. Any help here appreciated :)

@qwwdfsad
Copy link
Member

I am closing this PR, see #94 (comment)

@qwwdfsad qwwdfsad closed this May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants