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
Lua: add support of closures to the state cloner
[simgrid.git]
/
examples
/
lua
/
masterslave
/
slave.lua
diff --git
a/examples/lua/masterslave/slave.lua
b/examples/lua/masterslave/slave.lua
index
9c257c4
..
9ecddc6
100644
(file)
--- a/
examples/lua/masterslave/slave.lua
+++ b/
examples/lua/masterslave/slave.lua
@@
-6,6
+6,7
@@
function Slave(...)
local my_mailbox="slave "..arg[1]
simgrid.info("Hello from lua, I'm a poor slave with mbox: "..my_mailbox)
+
while true do
local tk = simgrid.Task.recv(my_mailbox);