Skip to content

Fix for overlap check test#743

Merged
gonuke merged 3 commits into
svalinn:developfrom
pshriwise:overlap_fix
Jun 20, 2021
Merged

Fix for overlap check test#743
gonuke merged 3 commits into
svalinn:developfrom
pshriwise:overlap_fix

Conversation

@pshriwise

@pshriwise pshriwise commented Jun 19, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

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

@gonuke gonuke left a comment

Copy link
Copy Markdown
Member

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

bam241 commented Jun 20, 2021

Copy link
Copy Markdown
Member

@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