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 | 97729d9e58a8ea8b24f99c3e4458a17e10f7e603 (patch) | |
| tree | a52ccd373fd3aa3e4b650abc5d145864e13bb620 /sample/drb/darray.rb | |
| parent | 8f60314f897cc37feba50cad426941dc4a2e1532 (diff) | |
| download | ruby-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/darray.rb')
| -rw-r--r-- | sample/drb/darray.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/drb/darray.rb b/sample/drb/darray.rb index bee295d27..95ee01ff0 100644 --- a/sample/drb/darray.rb +++ b/sample/drb/darray.rb @@ -8,6 +8,5 @@ require 'drb/drb' here = ARGV.shift DRb.start_service(here, [1, 2, "III", 4, "five", 6]) puts DRb.uri -puts '[return] to exit' -gets +DRb.thread.join |
