summaryrefslogtreecommitdiff
path: root/sample/drb/dqueue.rb
blob: 1c8878c08098990f546f51930d0fbdcee2cf89ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
=begin
 distributed Ruby --- Queue
 	Copyright (c) 1999-2000 Masatoshi SEKI
=end

require 'thread'
require 'drb/drb'

DRb.start_service(nil, Queue.new)
puts DRb.uri
DRb.thread.join