Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Almost Done ... Still Stuckin' Wiith Some MSG Error while The Slave Should Recieve ...
[simgrid.git] / src / bindings / ruby / client.rb
index 00419d3..96d7290 100644 (file)
@@ -20,17 +20,14 @@ mehdi = "Hey...this is my name"
 
 hash = Hash.new
 
-
 var = "name"
 
 hash[var] = mehdi
 
-
 # puts hash["name"]
 
 array.push(mehdi)
 
-
 #  info("Hey...")
 # puts array[0]
 
@@ -42,14 +39,13 @@ size = array2.size
 
 task = Task.new('marine',12,23)
 puts "Created task :"+task.to_s+" ; name: "+Task.name(task)
-Task.send(task,"MailBox")
+
 # Task.send(Task.new("finalize",0,0),"alias")
 #task2 =RbTask.new('task2')
 # task = RbTask.new()
 # host = Host.new("Brad")
 
-
- #host2 = Host.new()
+#host2 = Host.new()
 #  task_2 = Task.new('task2',12,23)
 #   name1 = task_2.name()
 #  name2 = Task.name(task)
@@ -57,36 +53,25 @@ Task.send(task,"MailBox")
 name = Task.name(task)
 # task.bind
 number = 56
-
 process = rubyNewInstance("RbProcess");#RbProcess.new()
+# process.run()
 p  process.class
 # puts "Created process :"+process.to_s+" ; name: "+RbProcess.name(task)
 # name = process.name
 puts name
-
 argue = ARGV[0]
 puts argue
 # puts process.alive?
 # Thread.stop
 # process2 = RbProcess.new()
 # process2.name = "Hope"
-
 # reader = RubyXML.new();
 # reader.parseApplication("application.xml")
 # reader.printAll()
-
-
-
 # name2 = Task.test()
 # puts name
 # process2 = RbProcess.new()
-
-
-
- #  puts (name)
+# puts (name)
 # init(array)
 # createEnvironment(name);
-# Task.goodbye
-
-
+# Task.goodbye
\ No newline at end of file