Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
MPICH-BlueGene
Commits
46568410
Commit
46568410
authored
May 21, 2015
by
Antonio J. Pena
Browse files
Destroy the handle mutex on finalize
It was created but never destroyed.
parent
f08d09bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpi/init/initthread.c
View file @
46568410
...
...
@@ -250,6 +250,8 @@ int MPIR_Thread_CS_Finalize( void )
/* There is a single, global lock, held for the duration of an MPI call */
MPID_Thread_mutex_destroy
(
&
MPIR_ThreadInfo
.
global_mutex
,
&
err
);
MPIU_Assert
(
err
==
0
);
MPID_Thread_mutex_destroy
(
&
MPIR_ThreadInfo
.
handle_mutex
,
&
err
);
MPIU_Assert
(
err
==
0
);
#elif MPIU_THREAD_GRANULARITY == MPIU_THREAD_GRANULARITY_PER_OBJECT
/* MPIU_THREAD_GRANULARITY_PER_OBJECT: There are multiple locks,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment