X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5d67901dba3dfd8e75f708c329b8144287490077..578dd56a4a07709db1922ff5edd98f0c8f3090f9:/src/simix/smx_network.cpp diff --git a/src/simix/smx_network.cpp b/src/simix/smx_network.cpp index 8d808d7136..14ebd76807 100644 --- a/src/simix/smx_network.cpp +++ b/src/simix/smx_network.cpp @@ -852,27 +852,6 @@ void SIMIX_comm_cancel(smx_synchro_t synchro) } } -void SIMIX_comm_suspend(smx_synchro_t synchro) -{ - simgrid::simix::Comm *comm = static_cast(synchro); - - /*FIXME: shall we suspend also the timeout synchro? */ - if (comm->surf_comm) - comm->surf_comm->suspend(); - /* in the other case, the action will be suspended on creation, in SIMIX_comm_start() */ -} - -void SIMIX_comm_resume(smx_synchro_t synchro) -{ - simgrid::simix::Comm *comm = static_cast(synchro); - - /*FIXME: check what happen with the timeouts */ - if (comm->surf_comm) - comm->surf_comm->resume(); - /* in the other case, the synchro were not really suspended yet, see SIMIX_comm_suspend() and SIMIX_comm_start() */ -} - - /************* synchro Getters **************/ /**