1 /* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "src/simix/SynchroComm.hpp"
7 #include "src/surf/surf_interface.hpp"
9 void simgrid::simix::Comm::suspend() {
10 /* FIXME: shall we suspend also the timeout synchro? */
13 /* in the other case, the action will be suspended on creation, in SIMIX_comm_start() */
17 void simgrid::simix::Comm::resume() {
18 /*FIXME: check what happen with the timeouts */
21 /* in the other case, the synchro were not really suspended yet, see SIMIX_comm_suspend() and SIMIX_comm_start() */