From ec2e12ee2c149368ec4feee477ad874583fea9d2 Mon Sep 17 00:00:00 2001 From: seki Date: Sun, 27 Jun 2004 15:36:32 +0000 Subject: 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 --- sample/drb/dchats.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sample/drb/dchats.rb') diff --git a/sample/drb/dchats.rb b/sample/drb/dchats.rb index b3133d1163..012dfeeebe 100644 --- a/sample/drb/dchats.rb +++ b/sample/drb/dchats.rb @@ -66,6 +66,5 @@ if __FILE__ == $0 here = ARGV.shift DRb.start_service(here, ChatServer.new) puts DRb.uri - puts '[return] to exit.' - gets + DRb.thread.join end -- cgit v1.2.3