X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4849314d08c1c90227cdbbc346f59e6e22a621d2..c53d0aac5a5ab41701f3320d95f1cd2b0f3fd005:/doc/bindings.doc diff --git a/doc/bindings.doc b/doc/bindings.doc index 5c25bf98a4..a3265323e0 100644 --- a/doc/bindings.doc +++ b/doc/bindings.doc @@ -32,7 +32,7 @@ Actually, the use of lua in Simgrid is quite simple, you have just to follow the - loading the platforme/deployment XML file that describe the environment of simulation - and … Running the Simulation. -\dontinclude lua/masterslave/master.lua +\don'tinclude lua/masterslave/master.lua \subsection bindings_binding_lua_example_master_slave Master/Slave Example \li Master Code @@ -41,13 +41,13 @@ we mainly use simgrid.Task.new(task_name,computation_size,communication_size) then simgrid.Task.send(task,alias) to send it. we use also simgrid.Task.name(task), to get the task's name. -\dontinclude lua/masterslave/slave.lua +\don'tinclude lua/masterslave/slave.lua \li Slave Code \until end_of_slave Here, we see the use of simgrid.Task.recv(alias) to receive a task with a specific alias, this function return directly the task recevied. -\dontinclude lua/masterslave/master_slave.lua +\don'tinclude lua/masterslave/master_slave.lua \li Set Environmenet and run application \until simgrid.clean()