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 for overlap check test #743

Merged
merged 3 commits into from
Jun 20, 2021
Merged

Fix for overlap check test #743

merged 3 commits into from
Jun 20, 2021

Conversation

pshriwise
Copy link
Member

@pshriwise pshriwise commented Jun 19, 2021

Description

Threadsafe fix for the overlap check test. The overlap_map shared variable was being modified in an unprotected block and could potentially be modified by multiple threads at once.

@pshriwise pshriwise changed the title Making changes to the overlap map critical blocks. Fix for overlap check test Jun 19, 2021
@pshriwise
Copy link
Member Author

Did my best to rule out any further race conditions by testing 500 times w/ 10, 20, & 30 threads.

Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pshriwise

@gonuke gonuke merged commit 1a97a9a into svalinn:develop Jun 20, 2021
@bam241
Copy link
Member

bam241 commented Jun 20, 2021

@pshriwise thx for the fix !

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.

3 participants