1
1

Merge pull request #5476 from nrspruit/ns_cancel_fix

MTL OFI: Fix Deadlock in fi_cancel given completion during cancel
Этот коммит содержится в:
Ralph Castain 2018-07-31 13:07:41 -07:00 коммит произвёл GitHub
родитель f614438518 767135c580
Коммит 8744320a18
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

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

@ -1013,8 +1013,11 @@ ompi_mtl_ofi_cancel(struct mca_mtl_base_module_t *mtl,
*/
while (!ofi_req->super.ompi_req->req_status._cancelled) {
opal_progress();
if (ofi_req->req_started)
goto ofi_cancel_not_possible;
}
} else {
ofi_cancel_not_possible:
/**
* Could not cancel the request.
*/