Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make SIMIX_context_new() accept std::function
[simgrid.git] / src / simix / SynchroSleep.hpp
index 5a87136..9f024ca 100644 (file)
@@ -14,8 +14,9 @@ namespace simix {
 
   XBT_PUBLIC_CLASS Sleep : public Synchro {
   public:
-    void suspend();
-    void resume();
+    void suspend() override;
+    void resume() override;
+    void post() override;
 
     sg_host_t host;                /* The host that is sleeping */
     surf_action_t surf_sleep;       /* The Surf sleeping action encapsulated */