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

Bugfix: wait_for_tasks should handle spurious wakeups #75

Merged

Conversation

willkill07
Copy link
Contributor

atomic waits are subject to spurious wakeups.

This PR ensures the logic in wait_for_tasks truly waits for the threads_complete_signal_ to be false.

@DeveloperPaul123
Copy link
Owner

Thanks for this!

@DeveloperPaul123 DeveloperPaul123 merged commit 2f75b94 into DeveloperPaul123:master Dec 10, 2024
13 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.

2 participants