Type:
Class
Constants:
Default : th->thgroup

The default ThreadGroup created when Ruby starts; all Threads belong to it by default.

ThreadGroup provides a means of keeping track of a number of threads as a group. A Thread can belong to only one ThreadGroup at a time; adding a thread to a new group will remove it from any previous group.

Newly created threads belong to the same group as the thread from which they were created.

enclosed?
  • References/Ruby on Rails/Ruby/Classes/ThreadGroup

thgrp.enclosed? â true or false Instance Public methods Returns true

2025-01-10 15:47:30
add
  • References/Ruby on Rails/Ruby/Classes/ThreadGroup

thgrp.add(thread) â thgrp Instance Public methods Adds the given thread

2025-01-10 15:47:30
enclose
  • References/Ruby on Rails/Ruby/Classes/ThreadGroup

thgrp.enclose â thgrp Instance Public methods Prevents threads from being

2025-01-10 15:47:30
list
  • References/Ruby on Rails/Ruby/Classes/ThreadGroup

thgrp.list â array Instance Public methods Returns an array of all existing

2025-01-10 15:47:30