[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-437-gc8ef14c
Service Account
noreply at mpich.org
Mon Sep 12 04:24:22 CDT 2016
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 c8ef14c5e1b49e822b5170b8efcc9154a0907673 (commit)
via c7d096dda2efe12f9b68adab5404cce76688e1a6 (commit)
from e8f5d0b7f0441f55669024b45ca93870fecde385 (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/c8ef14c5e1b49e822b5170b8efcc9154a0907673
commit c8ef14c5e1b49e822b5170b8efcc9154a0907673
Author: Pavan Balaji <balaji at anl.gov>
Date: Sun Sep 11 11:44:30 2016 -0500
Fixup old reference in OPA.
No reviewer.
diff --git a/src/openpa/src/opa_primitives.h b/src/openpa/src/opa_primitives.h
index 8e5d40b..1e48845 100644
--- a/src/openpa/src/opa_primitives.h
+++ b/src/openpa/src/opa_primitives.h
@@ -123,7 +123,7 @@
#endif
/*
- This routine is needed because the MPIU_THREAD_XXX_CS_{ENTER,EXIT} macros do
+ This routine is needed because the MPID_THREAD_XXX_CS_{ENTER,EXIT} macros do
not provide synchronization across multiple processes, only across multiple
threads within a process. In order to safely emulate atomic operations on a
shared memory region, we need a shared memory backed lock mechanism.
http://git.mpich.org/mpich.git/commitdiff/c7d096dda2efe12f9b68adab5404cce76688e1a6
commit c7d096dda2efe12f9b68adab5404cce76688e1a6
Author: Pavan Balaji <balaji at anl.gov>
Date: Sun Sep 11 11:40:30 2016 -0500
Bug-fix: add MPID_Thread_yield.
We had initially missed adding MPID_Thread_yield and instead defined
MPID_Thread_same twice. It's surprising that the compiler did not
catch the redefining. It's also weird that we do not use
MPID_Thread_yield any where, but it's still exposed, though that part
is not fixed in this commit.
No reviewer.
diff --git a/src/mpid/ch3/include/mpid_thread.h b/src/mpid/ch3/include/mpid_thread.h
index c3f369d..b1285ee 100644
--- a/src/mpid/ch3/include/mpid_thread.h
+++ b/src/mpid/ch3/include/mpid_thread.h
@@ -26,7 +26,7 @@ typedef MPIDU_Thread_func_t MPID_Thread_func_t;
#define MPID_Thread_exit MPIDU_Thread_exit
#define MPID_Thread_self MPIDU_Thread_self
#define MPID_Thread_same MPIDU_Thread_same
-#define MPID_Thread_same MPIDU_Thread_same
+#define MPID_Thread_yield MPIDU_Thread_yield
#define MPID_Thread_mutex_create MPIDU_Thread_mutex_create
#define MPID_Thread_mutex_destroy MPIDU_Thread_mutex_destroy
-----------------------------------------------------------------------
Summary of changes:
src/mpid/ch3/include/mpid_thread.h | 2 +-
src/openpa/src/opa_primitives.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list