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
Have the s4u::Actor::execute() actually wait for the completion of the execution
[simgrid.git]
/
include
/
simgrid
/
s4u
/
actor.hpp
diff --git
a/include/simgrid/s4u/actor.hpp
b/include/simgrid/s4u/actor.hpp
index
4476f5e
..
6b9c524
100644
(file)
--- a/
include/simgrid/s4u/actor.hpp
+++ b/
include/simgrid/s4u/actor.hpp
@@
-81,7
+81,7
@@
public:
void sleep(double duration);
/** Block the actor, computing the given amount of flops */
void sleep(double duration);
/** Block the actor, computing the given amount of flops */
-
void
execute(double flop);
+
e_smx_state_t
execute(double flop);
/** Block the actor until it gets a message from the given mailbox */
void *recv(Mailbox &chan);
/** Block the actor until it gets a message from the given mailbox */
void *recv(Mailbox &chan);