Ruby ThreadGroup Functions
EditRocket provides the following information on ThreadGroup functions in the Ruby source code builder.
add(thread) - Adds the given thread to this group, removing it from any other group to which it may have previously belonged.
enclose - Prevents threads from being added to or removed from the receiving ThreadGroup. New threads can still be started in an enclosed ThreadGroup.
enclosed? - Returns true if thgrp is enclosed. See also ThreadGroup#enclose.
list - Returns an array of all existing Thread objects that belong to this group.