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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git]
/
examples
/
lua
/
SimSplay
/
splay_school.lua
diff --git
a/examples/lua/SimSplay/splay_school.lua
b/examples/lua/SimSplay/splay_school.lua
index
abaf7c9
..
6be8f72
100644
(file)
--- a/
examples/lua/SimSplay/splay_school.lua
+++ b/
examples/lua/SimSplay/splay_school.lua
@@
-2,9
+2,9
@@
dofile 'sim_splay.lua'
function SPLAYschool()
log:print("My ip is :" ..job.me.ip())
function SPLAYschool()
log:print("My ip is :" ..job.me.ip())
- event.sleep(5)
- rpc.call(job.nodes[3],{"call_me","
Helloooooow
"})
- event.sleep(5)
+ event
s
.sleep(5)
+ rpc.call(job.nodes[3],{"call_me","
Arg_test
"})
+ event
s
.sleep(5)
os.exit()
end
os.exit()
end
@@
-12,7
+12,7
@@
function call_me(position)
log:print("I received an RPC from node "..position);
end
log:print("I received an RPC from node "..position);
end
-event.thread("SPLAYschool")
+event
s
.thread("SPLAYschool")
start.loop()
start.loop()