Skip to content

Conversation

@jsquyres
Copy link
Member

Prevent a race condition between a thread checking count and then going in cond_wait, and another thread setting the count to 0 and signaling the condition.

Thanks to Pascal Deveze for catching up the bug and for the initial patch.

Fixes #2100

Submitted by @bosilca
@hjelmn Please review

(cherry picked from commit 131fe42)

Prevent a race condition between a thread checking count and then
going in cond_wait, and another thread setting the count to 0 and
signaling the condition.
Thanks to Pascal Deveze for catching up the bug and for
the initial patch.

(cherry picked from commit 131fe42)
@jsquyres jsquyres merged commit a07b192 into open-mpi:v2.0.x Sep 26, 2016
@jsquyres jsquyres deleted the pr/v2.0.x/mt-fix branch September 26, 2016 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants