Skip to content

Cleanup PMIx shutdown #2982

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

Merged
merged 1 commit into from
Feb 15, 2017
Merged

Cleanup PMIx shutdown #2982

merged 1 commit into from
Feb 15, 2017

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Feb 15, 2017

Instead of completely free'ing the event base, pause the PMIx progress thread before tearing down the infrastructure, and then release the event base at the end of the procedure. This allows any infrastructure objects holding events to delete them prior to free'ing the event base.

Signed-off-by: Ralph Castain [email protected]

…s thread before tearing down the infrastructure, and then release the event base at the end of the procedure. This allows any infrastructure objects holding events to delete them prior to free'ing the event base.

Signed-off-by: Ralph Castain <[email protected]>
rhc54 referenced this pull request in openpmix/openpmix Feb 15, 2017
Fix a race condition resulting in segfault during PMIx finalize by stopping the PMIx progress thread prior to tearing down any infrastructure
@rhc54 rhc54 merged commit 578d881 into open-mpi:master Feb 15, 2017
@rhc54 rhc54 deleted the topic/threadstop branch February 15, 2017 14:00
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.

1 participant