Skip to content

Commit bf1c863

Browse files
committed
osc/pt2pt: make progress in flush*_local
There is no reason not to progress OSC during the MPI_Win_flush_local and MPI_Win_flush_all_local calls. This fixes #3750. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 832f1b0 commit bf1c863

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ompi/mca/osc/pt2pt/osc_pt2pt_passive_target.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* University of Stuttgart. All rights reserved.
99
* Copyright (c) 2004-2005 The Regents of the University of California.
1010
* All rights reserved.
11-
* Copyright (c) 2007-2016 Los Alamos National Security, LLC. All rights
11+
* Copyright (c) 2007-2017 Los Alamos National Security, LLC. All rights
1212
* reserved.
1313
* Copyright (c) 2010-2016 IBM Corporation. All rights reserved.
1414
* Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved.
@@ -633,6 +633,9 @@ int ompi_osc_pt2pt_flush_local (int target, struct ompi_win_t *win)
633633
}
634634
OPAL_THREAD_UNLOCK(&module->lock);
635635

636+
/* make some progress */
637+
opal_progress ();
638+
636639
return OMPI_SUCCESS;
637640
}
638641

@@ -659,6 +662,9 @@ int ompi_osc_pt2pt_flush_local_all (struct ompi_win_t *win)
659662
}
660663
OPAL_THREAD_UNLOCK(&module->lock);
661664

665+
/* make some progress */
666+
opal_progress ();
667+
662668
return OMPI_SUCCESS;
663669
}
664670

0 commit comments

Comments
 (0)