summaryrefslogtreecommitdiffstats
path: root/sample/drb/drbm.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
commit97729d9e58a8ea8b24f99c3e4458a17e10f7e603 (patch)
treea52ccd373fd3aa3e4b650abc5d145864e13bb620 /sample/drb/drbm.rb
parent8f60314f897cc37feba50cad426941dc4a2e1532 (diff)
downloadruby-97729d9e58a8ea8b24f99c3e4458a17e10f7e603.tar.gz
ruby-97729d9e58a8ea8b24f99c3e4458a17e10f7e603.tar.xz
ruby-97729d9e58a8ea8b24f99c3e4458a17e10f7e603.zip
using "DRb.thread.join" instead of "gets"
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/drb/drbm.rb')
-rw-r--r--sample/drb/drbm.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/drb/drbm.rb b/sample/drb/drbm.rb
index 37a26cdfa..74a15a469 100644
--- a/sample/drb/drbm.rb
+++ b/sample/drb/drbm.rb
@@ -54,6 +54,7 @@ if __FILE__ == $0
puts "#{s1.uri} #{s2.uri}"
- gets
+ s1.thread.join
+ s2.thread.join
end