A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[simix] Use a C-like syntax for simcalls.in
[simgrid.git]
/
src
/
simix
/
SynchroExec.cpp
diff --git
a/src/simix/SynchroExec.cpp
b/src/simix/SynchroExec.cpp
index
3b0f2c8
..
ddd7fc9
100644
(file)
--- a/
src/simix/SynchroExec.cpp
+++ b/
src/simix/SynchroExec.cpp
@@
-7,6
+7,12
@@
#include "src/surf/surf_interface.hpp"
#include "src/simix/smx_host_private.h"
#include "src/surf/surf_interface.hpp"
#include "src/simix/smx_host_private.h"
+simgrid::simix::Exec::Exec(const char*name, sg_host_t hostarg)
+{
+ name = xbt_strdup(name);
+ state = SIMIX_RUNNING;
+ host = hostarg;
+}
simgrid::simix::Exec::~Exec()
{
if (surf_exec)
simgrid::simix::Exec::~Exec()
{
if (surf_exec)