method

kill_sub_thread

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: DRb::DRbServer
kill_sub_thread() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/drb/drb.rb, line 1415
    def kill_sub_thread
      Thread.new do
        grp = ThreadGroup.new
        grp.add(Thread.current)
        list = @grp.list
        while list.size > 0
          list.each do |th|
            th.kill if th.alive?
          end
          list = @grp.list
        end
      end
    end
Register or log in to add new notes.