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
further snake_case Actor (::this_actor remains)
[simgrid.git]
/
teshsuite
/
s4u
/
actor
/
actor.cpp
diff --git
a/teshsuite/s4u/actor/actor.cpp
b/teshsuite/s4u/actor/actor.cpp
index
259f917
..
ccf99d5
100644
(file)
--- a/
teshsuite/s4u/actor/actor.cpp
+++ b/
teshsuite/s4u/actor/actor.cpp
@@
-38,13
+38,13
@@
static void master()
XBT_INFO("Suspend Actor (pid=%ld)", actor->get_pid());
actor->suspend();
XBT_INFO("Suspend Actor (pid=%ld)", actor->get_pid());
actor->suspend();
- XBT_INFO("Actor (pid=%ld) is %ssuspended", actor->get_pid(), actor->is
S
uspended() ? "" : "not ");
+ XBT_INFO("Actor (pid=%ld) is %ssuspended", actor->get_pid(), actor->is
_s
uspended() ? "" : "not ");
simgrid::s4u::this_actor::sleep_for(2);
XBT_INFO("Resume Actor (pid=%ld)", actor->get_pid());
actor->resume();
simgrid::s4u::this_actor::sleep_for(2);
XBT_INFO("Resume Actor (pid=%ld)", actor->get_pid());
actor->resume();
- XBT_INFO("Actor (pid=%ld) is %ssuspended", actor->get_pid(), actor->is
S
uspended() ? "" : "not ");
+ XBT_INFO("Actor (pid=%ld) is %ssuspended", actor->get_pid(), actor->is
_s
uspended() ? "" : "not ");
simgrid::s4u::this_actor::sleep_for(2);
actor->kill();
simgrid::s4u::this_actor::sleep_for(2);
actor->kill();