diff options
author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-27 15:36:32 +0000 |
---|---|---|
committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-27 15:36:32 +0000 |
commit | a1162d2bf8fda567f67006ea063c033daca0860a (patch) | |
tree | 87ae99fdd7a106a913536aac8d579c6495048c0e /sample/drb/ring_echo.rb | |
parent | 0131ff249ae19e1decc7817a53ca7c523293e72a (diff) | |
download | ruby-a1162d2bf8fda567f67006ea063c033daca0860a.tar.gz |
using "DRb.thread.join" instead of "gets"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/ring_echo.rb')
-rw-r--r-- | sample/drb/ring_echo.rb | 2 |
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 |