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

Use lock for sync_wait completion #272

Merged
merged 5 commits into from
Aug 2, 2024
Merged

Conversation

jbaldwin
Copy link
Owner

  • release/acquire memory ordering has a race condition
  • also reproduced on seq_cst

Closes #270

@jbaldwin jbaldwin self-assigned this Jul 11, 2024
test/main.cpp Outdated Show resolved Hide resolved
@jbaldwin jbaldwin merged commit ee02dc8 into main Aug 2, 2024
41 checks passed
@jbaldwin jbaldwin deleted the issue-270-sync-wait-hang branch August 2, 2024 17:51
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.

coro::sync_wait(coro::when_all()) paradigm (very rarely) hangs
1 participant