Skip to content
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

Test linearizability of Semaphore and Mutex #1737

Closed
elizarov opened this issue Dec 26, 2019 · 0 comments
Closed

Test linearizability of Semaphore and Mutex #1737

elizarov opened this issue Dec 26, 2019 · 0 comments
Assignees

Comments

@elizarov
Copy link
Contributor

Now that lincheck property supports suspending functions please add test for linearizability of Semaphore and Mutex

ndkoval added a commit that referenced this issue Apr 1, 2020
ndkoval added a commit that referenced this issue Apr 9, 2020
ndkoval added a commit that referenced this issue Apr 10, 2020
qwwdfsad pushed a commit that referenced this issue Apr 24, 2020
* Make semaphore implementation linearizable (ignoring extra suspensions)
* Make mutex implementation linearizable (ignoring extra suspensions)
* Add linearizability tests for mutex and semaphore
* Fix `SegmentQueueLCStressTest`

Fixes #1737

Co-authored-by: Roman Elizarov <elizarov@gmail.com>
recheej pushed a commit to recheej/kotlinx.coroutines that referenced this issue Dec 28, 2020
…n#1898)

* Make semaphore implementation linearizable (ignoring extra suspensions)
* Make mutex implementation linearizable (ignoring extra suspensions)
* Add linearizability tests for mutex and semaphore
* Fix `SegmentQueueLCStressTest`

Fixes Kotlin#1737

Co-authored-by: Roman Elizarov <elizarov@gmail.com>
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

No branches or pull requests

2 participants