Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also remove the comm from processes when SIMIX_post_comm is not called
authorChristophe Thiéry <christopho128@gmail.com>
Wed, 9 Nov 2011 11:20:26 +0000 (12:20 +0100)
committerChristophe Thiéry <christopho128@gmail.com>
Wed, 9 Nov 2011 11:23:49 +0000 (12:23 +0100)
src/simix/smx_network.c

index 56f4086..c3265f6 100644 (file)
@@ -668,6 +668,7 @@ void SIMIX_comm_finish(smx_action_t action)
     }
 
     req->issuer->waiting_action = NULL;
     }
 
     req->issuer->waiting_action = NULL;
+    xbt_fifo_remove(req->issuer->comms, action);
     SIMIX_request_answer(req);
     destroy_count++;
   }
     SIMIX_request_answer(req);
     destroy_count++;
   }