A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various small cleanups. Not quite there yet
[simgrid.git]
/
src
/
bindings
/
ruby
/
client.rb
diff --git
a/src/bindings/ruby/client.rb
b/src/bindings/ruby/client.rb
index
af5fad9
..
623e145
100644
(file)
--- a/
src/bindings/ruby/client.rb
+++ b/
src/bindings/ruby/client.rb
@@
-41,6
+41,7
@@
size = array2.size
task = Task.new('ninou',12,23)
task = Task.new('ninou',12,23)
+puts "Created task :"+task.to_s+" ; name: "+Task.name(task)
#task2 =RbTask.new('task2')
# task = RbTask.new()
# host = Host.new("Brad")
#task2 =RbTask.new('task2')
# task = RbTask.new()
# host = Host.new("Brad")
@@
-55,7
+56,8
@@
task = Task.new('ninou',12,23)
# task.bind
number = 56
# task.bind
number = 56
-# process = RbProcess.new()
+process = RbProcess.new("mon nom")
+puts "Created process :"+process.to_s+" ; name: "+RbProcess.name(task)
# name = process.name
puts name
# puts process.alive?
# name = process.name
puts name
# puts process.alive?