X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ff238ea83a45fc56e3f1ab089f3163d066b3551..48dcdffeef3c0a64242eac72c2af3ae336e7e6bd:/src/bindings/ruby/MasterSlave.rb diff --git a/src/bindings/ruby/MasterSlave.rb b/src/bindings/ruby/MasterSlave.rb index 7b04171b55..377a530abf 100644 --- a/src/bindings/ruby/MasterSlave.rb +++ b/src/bindings/ruby/MasterSlave.rb @@ -60,14 +60,14 @@ class Slave < MSG::Process info("Ready to Receive Task") task = MSG::Task.receive(mailbox) MSG::info("Task Received : " + task.name) - if (task_name == "finalize") - MSG::info("Slave" + s_mailbox + "got finalize msg") + if (task.name == "finalize") + MSG::info("Slave " + mailbox + " got finalize msg") break end - MSG::info("Slave " + s_mailbox + " ...Processing" + task.name) + MSG::info("Slave " + mailbox + " ...Processing" + task.name) task.execute end - MSG::info("Slave " + s_mailbox + "I'm Done , See You !!") + MSG::info("Slave " + mailbox + "I'm Done , See You !!") end end