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 | ec2e12ee2c149368ec4feee477ad874583fea9d2 (patch) | |
tree | a52ccd373fd3aa3e4b650abc5d145864e13bb620 /sample/drb/gw_s.rb | |
parent | 278b27a1a90033863e318e07f6339947d77c3de2 (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/gw_s.rb')
-rw-r--r-- | sample/drb/gw_s.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/drb/gw_s.rb b/sample/drb/gw_s.rb index f91249b3e0..c2bea0baad 100644 --- a/sample/drb/gw_s.rb +++ b/sample/drb/gw_s.rb @@ -6,4 +6,5 @@ DRb.install_id_conv(DRb::GWIdConv.new) gw = DRb::GW.new s1 = DRb::DRbServer.new(ARGV.shift, gw) s2 = DRb::DRbServer.new(ARGV.shift, gw) -gets +s1.thread.join +s2.thread.join |