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
4d7ac29a
Commit
4d7ac29a
authored
Nov 06, 2008
by
Rajeev Thakur
Browse files
[svn-r3452] fixes bug reported by David Gingold (#269)
parent
cafc18e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/src/ch3u_rma_sync.c
View file @
4d7ac29a
...
@@ -95,13 +95,16 @@ int MPIDI_Win_fence(int assert, MPID_Win *win_ptr)
...
@@ -95,13 +95,16 @@ int MPIDI_Win_fence(int assert, MPID_Win *win_ptr)
goto
fn_exit
;
goto
fn_exit
;
}
}
if
(
(
win_ptr
->
fence_cnt
==
0
)
&&
((
assert
&
MPI_MODE_NOSUCCEED
)
!=
1
))
if
(
win_ptr
->
fence_cnt
==
0
)
{
{
/* win_ptr->fence_cnt == 0 means either this is the very first
/* win_ptr->fence_cnt == 0 means either this is the very first
call to fence or the preceding fence had the
call to fence or the preceding fence had the
MPI_MODE_NOSUCCEED assert.
MPI_MODE_NOSUCCEED assert.
Do nothing except increment the count. */
win_ptr
->
fence_cnt
=
1
;
If this fence has MPI_MODE_NOSUCCEED, do nothing and return.
Otherwise just increment the fence count and return. */
if
(
!
(
assert
&
MPI_MODE_NOSUCCEED
))
win_ptr
->
fence_cnt
=
1
;
}
}
else
else
{
{
...
...
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