We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e83f95 + 25bdd11 commit e3f2137Copy full SHA for e3f2137
ompi/mca/mtl/ofi/mtl_ofi.h
@@ -1197,14 +1197,8 @@ ompi_mtl_ofi_cancel(struct mca_mtl_base_module_t *mtl,
1197
ret = fi_cancel((fid_t)ompi_mtl_ofi.ofi_ctxt[ctxt_id].rx_ep,
1198
&ofi_req->ctx);
1199
if (0 == ret) {
1200
- /**
1201
- * Wait for the request to be cancelled.
1202
- */
1203
- while (!ofi_req->super.ompi_req->req_status._cancelled) {
1204
- opal_progress();
1205
- if (ofi_req->req_started)
1206
- goto ofi_cancel_not_possible;
1207
- }
+ if (ofi_req->req_started)
+ goto ofi_cancel_not_possible;
1208
} else {
1209
ofi_cancel_not_possible:
1210
/**
0 commit comments