Skip to content

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Mar 26, 2018

This commit fixes a multi-threading bug when using the thread-safe
free list functions. opal_free_list_wait_mt() was using the
conditional version of opal_lifo_pop() and not the thread-safe call.

Signed-off-by: Nathan Hjelm hjelmn@lanl.gov
(cherry picked from commit 7f761d8)
Signed-off-by: Nathan Hjelm hjelmn@lanl.gov

This commit fixes a multi-threading bug when using the thread-safe
free list functions. opal_free_list_wait_mt() was using the
conditional version of opal_lifo_pop() and not the thread-safe call.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
(cherry picked from commit 7f761d8)
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
@nysal
Copy link
Member

nysal commented Mar 27, 2018

The patch looks good. I'm curious what bug were you hitting. The conditional code should have called the right function, although it's less efficient.

@bwbarrett bwbarrett merged commit e3fae9d into open-mpi:v3.0.x Mar 29, 2018
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