Fork in a separate thread. If we fork from a DRb thread
(a thread handling a method call invoked over drb), DRb still thinks the current object is the DRb Front Object, and reports its uri as the same as in the parent process, even if you restart DRb service.
# File lib/deep_test.rb, line 14 def self.drb_safe_fork(&block) Thread.new {Process.fork(&block)}.value end
Generated with the Darkfish Rdoc Generator 2.