X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5f730576ca0bad9bb490cca1a01d458152e1b07..4b41294c49f838248cf4b8e6883ddd94dfdf72d9:/src/s4u/s4u_actor.cpp diff --git a/src/s4u/s4u_actor.cpp b/src/s4u/s4u_actor.cpp index 01ca722e9b..6b6f2ef5d8 100644 --- a/src/s4u/s4u_actor.cpp +++ b/src/s4u/s4u_actor.cpp @@ -184,6 +184,11 @@ void Actor::setProperty(const char* key, const char* value) }); } +Actor* Actor::restart() +{ + return simgrid::simix::kernelImmediate([this]() { return pimpl_->restart(); }); +} + // ***** this_actor ***** namespace this_actor {