1
1

Merge pull request #1056 from hjelmn/osc_fixes

osc/pt2pt: reset all_sync sync object before sending complete messages
Этот коммит содержится в:
Nathan Hjelm 2015-10-21 19:40:28 -06:00
родитель 0bc51375f3 864f88a2a3
Коммит b2fa2a9bef

Просмотреть файл

@ -321,6 +321,9 @@ int ompi_osc_pt2pt_complete (ompi_win_t *win)
peers = sync->peer_list.peers;
/* need to reset the sync here to avoid processing incorrect post messages */
ompi_osc_pt2pt_sync_reset (sync);
OPAL_THREAD_UNLOCK(&module->lock);
OPAL_OUTPUT_VERBOSE((50, ompi_osc_base_framework.framework_output,
@ -396,8 +399,6 @@ int ompi_osc_pt2pt_complete (ompi_win_t *win)
opal_condition_wait(&module->cond, &module->lock);
}
ompi_osc_pt2pt_sync_reset (sync);
/* unlock here, as group cleanup can take a while... */
OPAL_THREAD_UNLOCK(&module->lock);