X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/754c841237ef339b788bd526f0efb1739c245dcb..c6eefaa5a3198ebff98651ac72501367e4195ded:/examples/ruby/MasterSlave.rb diff --git a/examples/ruby/MasterSlave.rb b/examples/ruby/MasterSlave.rb index bd6f69f41d..198c4caedc 100644 --- a/examples/ruby/MasterSlave.rb +++ b/examples/ruby/MasterSlave.rb @@ -4,7 +4,6 @@ include MSG # Class Master ################################################# - class Master < MSG::Process # main : that function that will be executed when running simulation @@ -41,6 +40,9 @@ class Master < MSG::Process MSG::info("Master : Everything's Done") end end + +# end_of_master + ################################################# # Class Slave ################################################# @@ -63,6 +65,9 @@ class Slave < MSG::Process MSG::info("I'm done, see you") end end + +# end_of_slave + ################################################# # main chunck #################################################