diff options
Diffstat (limited to 'sample/drb/simpletuple.rb')
-rw-r--r-- | sample/drb/simpletuple.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/drb/simpletuple.rb b/sample/drb/simpletuple.rb index 3ae9208c79..1b9b7a35a7 100644 --- a/sample/drb/simpletuple.rb +++ b/sample/drb/simpletuple.rb @@ -13,7 +13,7 @@ class SimpleTupleSpace @waiting.taint self.taint end - + def out(key, obj) Thread.critical = true @hash[key] ||= [] @@ -48,7 +48,7 @@ class SimpleTupleSpace Thread.critical = false end end -end +end if __FILE__ == $0 ts = SimpleTupleSpace.new @@ -75,7 +75,7 @@ if __FILE__ == $0 } end - 3.times do + 3.times do servers.push(server(ts)) end |