We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f47c28 commit a02d677Copy full SHA for a02d677
ompi/mpiext/continue/c/continuation.c
@@ -576,6 +576,10 @@ ompi_continue_enqueue_runnable(ompi_continuation_t *cont)
576
} else {
577
/* someone started the request before we took the lock, go back and check again
578
* this should be rare so we don't care about taking the lock again */
579
+ if (!req_volatile) {
580
+ /* put it back into the list of incomplete ops */
581
+ opal_list_append(&cont_req->cont_incomplete_list, &cont->super.super);
582
+ }
583
if (using_threads) { opal_atomic_unlock(&cont_req->cont_lock); }
584
goto recheck;
585
}
0 commit comments