Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
8e4b9a156f90662e738c578213494f0299f54990
[simgrid.git] / src / simix / SynchroSleep.hpp
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 #ifndef _SIMIX_SYNCHRO_SLEEP_HPP
7 #define _SIMIX_SYNCHRO_SLEEP_HPP
8
9 #include "src/simix/Synchro.h"
10
11 namespace simgrid {
12 namespace simix {
13
14   XBT_PUBLIC_CLASS Sleep : public Synchro {
15   public:
16     sg_host_t host;                /* The host that is sleeping */
17     surf_action_t surf_sleep;       /* The Surf sleeping action encapsulated */
18   };
19
20 }} // namespace simgrid::simix
21
22 #endif