1
1
This commit was SVN r8149.
Этот коммит содержится в:
Tim Woodall 2005-11-13 23:31:20 +00:00
родитель bc2e80cbc6
Коммит 54b6acb2b4

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

@ -505,7 +505,7 @@ int mca_btl_gm_component_progress()
size_t i; size_t i;
/* could get into deadlock in this case as we post recvs after callback completes */ /* could get into deadlock in this case as we post recvs after callback completes */
if(OPAL_THREAD_ADD32(&inprogress, 1) >= mca_btl_gm_component.gm_num_repost) { if(OPAL_THREAD_ADD32(&inprogress, 1) > 1) {
OPAL_THREAD_ADD32(&inprogress, -1); OPAL_THREAD_ADD32(&inprogress, -1);
return OMPI_SUCCESS; return OMPI_SUCCESS;
} }