Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SIMIX_comm_get_remains() -> simgrid::simix::Comm::remains()
[simgrid.git] / src / simix / SynchroIo.cpp
1 /* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved.          */
2
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. */
5
6 #include "src/simix/SynchroIo.hpp"
7 #include "src/surf/surf_interface.hpp"
8
9 void simgrid::simix::Io::suspend()
10 {
11   if (surf_io)
12     surf_io->suspend();
13 }
14
15 void simgrid::simix::Io::resume()
16 {
17   if (surf_io)
18     surf_io->resume();
19 }