Skip to content

Commit dae3746

Browse files
committed
Merge pull request #1190 from kawashima-fj/pr/sm-win-test-fix
osc/sm: Fix a bug that `MPI_WIN_TEST` does not update `flag` to 0
2 parents 59a361b + 9c7b6a4 commit dae3746

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/osc/sm/osc_sm_active_target.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ ompi_osc_sm_test(struct ompi_win_t *win,
315315
OBJ_RELEASE(module->post_group);
316316
module->post_group = NULL;
317317
*flag = 1;
318+
} else {
319+
*flag = 0;
318320
}
319321

320322
OPAL_THREAD_UNLOCK(&module->lock);

0 commit comments

Comments
 (0)