#include "src/surf/surf_interface.hpp"
#include "src/simix/smx_host_private.h"
+simgrid::simix::Exec::Exec(const char*name, sg_host_t hostarg)
+{
+ if (name)
+ this->name = name;
+ this->state = SIMIX_RUNNING;
+ this->host = hostarg;
+}
+
simgrid::simix::Exec::~Exec()
{
if (surf_exec)