From 8930125311f6b4d4bfa4447f5a5666210d0ceafb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christophe=20Thi=C3=A9ry?= Date: Thu, 20 Oct 2011 08:39:03 +0200 Subject: [PATCH 1/1] SIMIX_CANCELED is a more adapted state in SIMIX_comm_cancel() --- src/simix/smx_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index 6b4922ff27..d5d4631509 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -716,7 +716,7 @@ void SIMIX_comm_cancel(smx_action_t action) /* so remove from it and delete it */ if (action->state == SIMIX_WAITING) { SIMIX_rdv_remove(action->comm.rdv, action); - action->state = SIMIX_FAILED; + action->state = SIMIX_CANCELED; } else if (!MC_IS_ENABLED && (action->state == SIMIX_READY || action->state == SIMIX_RUNNING)) { -- 2.20.1