Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
23959509e3218f8c69479df8644e3e33559da925
[simgrid.git] / src / simix / SynchroSleep.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/SynchroSleep.hpp"
7 #include "src/surf/surf_interface.hpp"
8
9 void simgrid::simix::Sleep::suspend() {
10   surf_sleep->suspend();
11 }
12
13 void simgrid::simix::Sleep::resume() {
14   surf_sleep->resume();
15 }