X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/418ac8d537f356100767b8a21f65e16f7ba1d986..334e868fd56cf359ef71557b7eba026687fbef73:/src/simix/SynchroExec.cpp diff --git a/src/simix/SynchroExec.cpp b/src/simix/SynchroExec.cpp new file mode 100644 index 0000000000..db79ea0cad --- /dev/null +++ b/src/simix/SynchroExec.cpp @@ -0,0 +1,19 @@ +/* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + +#include "src/simix/SynchroExec.hpp" +#include "src/surf/surf_interface.hpp" + +void simgrid::simix::Exec::suspend() +{ + if (surf_exec) + surf_exec->suspend(); +} + +void simgrid::simix::Exec::resume() +{ + if (surf_exec) + surf_exec->resume(); +}