Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Give the _this_ variants to the Link signals
[simgrid.git] / src / s4u / s4u_Host.cpp
index 1e301fe..496b1f9 100644 (file)
@@ -103,6 +103,7 @@ void Host::turn_on()
       this->pimpl_cpu_->turn_on();
       this->pimpl_->turn_on();
       on_state_change(*this);
+      on_this_state_change(*this);
     });
   }
 }
@@ -117,6 +118,7 @@ void Host::turn_off()
       this->pimpl_->turn_off(self);
 
       on_state_change(*this);
+      on_this_state_change(*this);
     });
   }
 }