[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.2-55-g59e4812

mysql vizuser noreply at mpich.org
Mon Feb 25 15:19:01 CST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  59e481288a7692ba5d93d76b30dde5e99d51e88c (commit)
      from  882c80f2639e3da840d9feac1f7fd779a54411c2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/59e481288a7692ba5d93d76b30dde5e99d51e88c

commit 59e481288a7692ba5d93d76b30dde5e99d51e88c
Author: James Dinan <dinan at mcs.anl.gov>
Date:   Mon Feb 25 14:49:35 2013 -0600

    Added missing CS ENTER/EXIT guards to type_commit
    
    MPI_Type_commit was missing CS ENTER/EXIT guards, which may be causing a
    conflict with RMA code that creates derived datatypes at the target
    process, when MPICH_ASYNC_PROGRESS is specified.  This may have fixed #1766.
    
    Reviewer: goodell

diff --git a/src/mpi/datatype/type_commit.c b/src/mpi/datatype/type_commit.c
index b34303e..cba1fcd 100644
--- a/src/mpi/datatype/type_commit.c
+++ b/src/mpi/datatype/type_commit.c
@@ -77,6 +77,7 @@ int MPI_Type_commit(MPI_Datatype *datatype)
 
     MPIR_ERRTEST_INITIALIZED_ORDIE();
     
+    MPIU_THREAD_CS_ENTER(ALLFUNC,);
     MPID_MPI_FUNC_ENTER(MPID_STATE_MPI_TYPE_COMMIT);
     
     /* Validate parameters, especially handles needing to be converted */
@@ -116,6 +117,7 @@ int MPI_Type_commit(MPI_Datatype *datatype)
     
   fn_exit:
     MPID_MPI_FUNC_EXIT(MPID_STATE_MPI_TYPE_COMMIT);
+    MPIU_THREAD_CS_EXIT(ALLFUNC,);
     return mpi_errno;
 
   fn_fail:

-----------------------------------------------------------------------

Summary of changes:
 src/mpi/datatype/type_commit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list