Commit f22d897
committed
ompi/runtime: add instead of set opal_progress_event_flags
Currently, ompi_mpi_init() call
opal_progress_set_event_flag(OPAL_EVLOOP_NONBLOCK),
whith the intention to ensure OPAL_EVLOOP_NONBLOCK is set
in opal_progress_event_flag.
However, this call will remove other existing flags
(like OPAL_EVLOOP_ONCE) in opal_progress_event_flag,
which can cause deadlock.
This patch address the issue by adding OPAL_EVLOOP_NONBLOCK
to that flag.
Signed-off-by: Wei Zhang <wzam@amazon.com>1 parent fce9e93 commit f22d897
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
999 | 999 | | |
1000 | 1000 | | |
1001 | 1001 | | |
1002 | | - | |
| 1002 | + | |
| 1003 | + | |
1003 | 1004 | | |
1004 | 1005 | | |
1005 | 1006 | | |
| |||
0 commit comments