Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
adding some comments
authorcoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Jul 2010 07:59:40 +0000 (07:59 +0000)
committercoldpeace <coldpeace@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 7 Jul 2010 07:59:40 +0000 (07:59 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7985 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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
 #################################################