method

kill_sub_thread

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: DRb::DRbServer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_2_180) is shown here.

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.