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 thread safety issues on threading tests #226

Merged
merged 1 commit into from
Mar 10, 2023
Merged

Conversation

bigtrak
Copy link
Contributor

@bigtrak bigtrak commented Mar 10, 2023

Use volatile on cross-thread/process variables to fix typical thread safety problems
with the remaining thread0oriented parts of the testsuite.

This makes all threading type tests have the same level of volatile ... until we find more problems.

This Resolves #225

Use volatile on cross-thread/process variables to fix
typical thread safety problems with the remaining thread
oriented parts of the testsuite.

This makes all threading type tests have the same level
of volatile ... until we find more problems.
@bigtrak bigtrak merged commit 53399d0 into master Mar 10, 2023
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.

Fix obvious races in thread_1 and thread_2
1 participant