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

Fix data-race in Mutex owner when mutex is locked/released inconsiste… #3286

Merged
merged 1 commit into from May 16, 2022

Conversation

qwwdfsad
Copy link
Member

@qwwdfsad qwwdfsad commented May 16, 2022

…ntly

Fixes #3250

There is no test, because we both can't really reproduce it on x86 with TSO and because it's tough to write -- the race is only reproducible when the mutex is used incorrectly.
Yet it's nice to have it fixed until 1.7.0 where new mutex arrives

@qwwdfsad qwwdfsad merged commit 0fe8f92 into develop May 16, 2022
@qwwdfsad qwwdfsad deleted the mutex-race branch May 16, 2022 12:56
pablobaxter pushed a commit to pablobaxter/kotlinx.coroutines that referenced this pull request Sep 14, 2022
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.

None yet

2 participants