summaryrefslogtreecommitdiff
path: root/sample/drb/ring_echo.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-27 15:36:32 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-27 15:36:32 +0000
commitec2e12ee2c149368ec4feee477ad874583fea9d2 (patch)
treea52ccd373fd3aa3e4b650abc5d145864e13bb620 /sample/drb/ring_echo.rb
parent278b27a1a90033863e318e07f6339947d77c3de2 (diff)
using "DRb.thread.join" instead of "gets"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/ring_echo.rb')
-rw-r--r--sample/drb/ring_echo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/drb/ring_echo.rb b/sample/drb/ring_echo.rb
index 0fde11b9e9..0633aa839a 100644
--- a/sample/drb/ring_echo.rb
+++ b/sample/drb/ring_echo.rb
@@ -26,5 +26,5 @@ ts.read_all([:name, :RingEcho, nil, nil]).each do |tuple|
end
ts.write([:name, :RingEcho, RingEcho.new(DRb.uri), ''], renewer)
-$stdin.gets
+DRb.thread.join