summaryrefslogtreecommitdiff
path: root/sample/drb/dqueue.rb
blob: a5a43655fdd10284a8299e3cd1feef729dec9be7 (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