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: wrong condvar usage #474

Merged
merged 3 commits into from
Apr 2, 2024
Merged

Conversation

Chronostasys
Copy link
Contributor

fix #473

Copy link

netlify bot commented Mar 15, 2024

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 9deaf3e
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/660bdad109dbdf0008b55062

@Chronostasys
Copy link
Contributor Author

I've tested the code on my project, and seems like the issue has gone. However as the race condition is pretty hard to meet, I don't think it's easy to prove it with test cases.

@nikomatsakis
Copy link
Member

@Chronostasys thanks for your explanation! Makes total sense. I was traveling last 2 weeks hence lack of reply.

components/salsa-2022/src/storage.rs Outdated Show resolved Hide resolved
@nikomatsakis nikomatsakis added this pull request to the merge queue Apr 2, 2024
Merged via the queue into salsa-rs:master with commit 9a0a651 Apr 2, 2024
6 of 8 checks passed
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.

[Bug] Deadlock may happen in cancel_other_workers even when there's only one handle
2 participants