Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert process-join to actor-join
[simgrid.git] / src / s4u / s4u_actor.cpp
index ddb8fac..c68dda3 100644 (file)
@@ -61,6 +61,11 @@ void Actor::join() {
   simcall_process_join(this->pimpl_, -1);
 }
 
+void Actor::join(double timeout)
+{
+  simcall_process_join(this->pimpl_, timeout);
+}
+
 void Actor::setAutoRestart(bool autorestart) {
   simgrid::simix::kernelImmediate([this, autorestart]() { pimpl_->auto_restart = autorestart; });
 }