Project

General

Profile

Bug #5618 » drbserver.rb

DRb Server - larsch (Lars Christensen), 11/11/2011 10:49 PM

 
require 'drb'
class Fail < Exception
end
class Server
def go
raise Fail
end
end
DRb.start_service 'druby://:9991', Server.new
trap("INT") { DRb.stop_service }
DRb.thread.join
(1-1/3)