Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
adding some comments
[simgrid.git] / examples / ruby / MasterSlave.rb
index bd6f69f..198c4ca 100644 (file)
@@ -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
 #################################################