X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f..43dc8ea1eae96e9d084aaabeed9beef568a7dea6:/src/s4u/s4u_Exec.cpp diff --git a/src/s4u/s4u_Exec.cpp b/src/s4u/s4u_Exec.cpp index edea68571a..31f69d287e 100644 --- a/src/s4u/s4u_Exec.cpp +++ b/src/s4u/s4u_Exec.cpp @@ -22,6 +22,11 @@ Exec::Exec() pimpl_ = kernel::activity::ExecImplPtr(new kernel::activity::ExecImpl()); } +ExecPtr Exec::init() +{ + return ExecPtr(new Exec()); +} + Exec* Exec::wait() { return this->wait_for(-1);