[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-369-gf43c017
Service Account
noreply at mpich.org
Tue Jul 26 12:33:17 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 f43c017cea598e37088d75a58a87b714ce4e8921 (commit)
from ec30eb3ed2538801ceac2763ba0f81c400462063 (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/f43c017cea598e37088d75a58a87b714ce4e8921
commit f43c017cea598e37088d75a58a87b714ce4e8921
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date: Tue Jul 26 10:39:56 2016 -0500
mpir_object.h: Add missing macro prefix
No reviewer.
diff --git a/src/include/mpir_objects.h b/src/include/mpir_objects.h
index e92cf79..34b2342 100644
--- a/src/include/mpir_objects.h
+++ b/src/include/mpir_objects.h
@@ -263,7 +263,7 @@ typedef int Handle_ref_count;
#define MPIR_Object_get_ref(objptr_) \
((objptr_)->ref_count)
-#define Object_add_ref_always(objptr_) \
+#define MPIR_Object_add_ref_always(objptr_) \
do { \
(objptr_)->ref_count++; \
HANDLE_LOG_REFCOUNT_CHANGE(objptr_, "incr"); \
@@ -291,7 +291,7 @@ typedef OPA_int_t Handle_ref_count;
#define MPIR_Object_get_ref(objptr_) \
(OPA_load_int(&(objptr_)->ref_count))
-#define Object_add_ref_always(objptr_) \
+#define MPIR_Object_add_ref_always(objptr_) \
do { \
OPA_incr_int(&((objptr_)->ref_count)); \
HANDLE_LOG_REFCOUNT_CHANGE(objptr_, "incr"); \
@@ -327,7 +327,7 @@ typedef OPA_int_t Handle_ref_count;
do { \
int handle_kind_ = HANDLE_GET_KIND((objptr_)->handle); \
if (unlikely(handle_kind_ != HANDLE_KIND_BUILTIN)) { \
- Object_add_ref_always((objptr_)); \
+ MPIR_Object_add_ref_always((objptr_)); \
} \
else { \
MPL_DBG_MSG_FMT(MPIR_DBG_HANDLE,TYPICAL,(MPL_DBG_FDEST, \
@@ -359,7 +359,7 @@ typedef OPA_int_t Handle_ref_count;
/* the base case, where we just always manipulate the reference counts */
#define MPIR_Object_add_ref(objptr_) \
- Object_add_ref_always((objptr_))
+ MPIR_Object_add_ref_always((objptr_))
#define MPIR_Object_release_ref(objptr_,inuse_ptr_) \
MPIR_Object_release_ref_always((objptr_),(inuse_ptr_))
-----------------------------------------------------------------------
Summary of changes:
src/include/mpir_objects.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list