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
c73451c0
Commit
c73451c0
authored
Nov 20, 2014
by
Xin Zhao
Browse files
Bug-fix: in UNLOCK handler, send FLUSH_ACK first, then release lock.
No reviewer.
parent
e12376fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/include/mpidrma.h
View file @
c73451c0
...
...
@@ -506,11 +506,11 @@ static inline int finish_op_on_target(MPID_Win *win_ptr, MPIDI_VC_t *vc,
MPIDI_CH3_Progress_signal_completion
();
}
if
(
flags
&
MPIDI_CH3_PKT_FLAG_RMA_UNLOCK
)
{
mpi_errno
=
MPIDI_CH3I_Release_lock
(
win_ptr
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
mpi_errno
=
MPIDI_CH3I_Send_flush_ack_pkt
(
vc
,
win_ptr
,
flags
,
source_win_handle
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
mpi_errno
=
MPIDI_CH3I_Release_lock
(
win_ptr
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
MPIDI_CH3_Progress_signal_completion
();
}
}
...
...
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