File: C:/Ruby27-x64/share/ri/2.7.0/system/ThreadGroup/enclose-i.ri
U:RDoc::AnyMethod[iI"enclose:ETI"ThreadGroup#enclose;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"HPrevents threads from being added to or removed from the receiving ;TI"ThreadGroup.;To:RDoc::Markup::BlankLine o;
; [I"ANew threads can still be started in an enclosed ThreadGroup.;T@o:RDoc::Markup::Verbatim; [
I"GThreadGroup::Default.enclose #=> #<ThreadGroup:0x4029d914>
;TI"Hthr = Thread.new { Thread.stop } #=> #<Thread:0x402a7210 sleep>
;TI"Gtg = ThreadGroup.new #=> #<ThreadGroup:0x402752d4>
;TI"tg.add thr
;TI"?#=> ThreadError: can't move from the enclosed thread group;T:@format0:
@fileI"
thread.c;T:0@omit_headings_from_table_of_contents_below0I"thgrp.enclose -> thgrp
;T0[ I"();T@FI"ThreadGroup;TcRDoc::NormalClass00