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

sharedfp/sm: close the named semaphore #4363

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

edgargabriel
Copy link
Member

in case a named semaphore is used, it is necessary to close the semaphore to remove
all sm segments. sem_unlink just removes the name references once all proceeses have closed
the sem.

Fixes issue: #4336

Signed-off-by: Edgar Gabriel [email protected]

sharedfp/sm: unlink only needs to be called by one process

Signed-off-by: Edgar Gabriel [email protected]

in case a named semaphore is used, it is necessary to close the semaphore to remove
all sm segments. sem_unlink just removes the name references once all proceeses have closed
the sem.

Fixes issue: open-mpi#4336

Signed-off-by: Edgar Gabriel <[email protected]>

sharedfp/sm: unlink only needs to be called by one process

Signed-off-by: Edgar Gabriel <[email protected]>
@edgargabriel edgargabriel added this to the v3.0.1 milestone Oct 19, 2017
@bwbarrett bwbarrett merged commit 6e910d1 into open-mpi:v3.0.x Oct 26, 2017
@edgargabriel edgargabriel deleted the pr/v3.0.x-sem-close-fix branch March 21, 2018 19:40
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.

4 participants