HEX
Server: LiteSpeed
System: Linux server240.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: creaqbdc (8964)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //opt/alt/ruby18/share/ri/1.8/system/Thread/list-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns an array of <tt>Thread</tt> objects for all threads that are either runnable or stopped.
- !ruby/struct:SM::Flow::VERB 
  body: "   Thread.new { sleep(200) }\n   Thread.new { 1000000.times {|i| i*i } }\n   Thread.new { Thread.stop }\n   Thread.list.each {|t| p t}\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   #&lt;Thread:0x401b3e84 sleep&gt;\n   #&lt;Thread:0x401b3f38 run&gt;\n   #&lt;Thread:0x401b3fb0 sleep&gt;\n   #&lt;Thread:0x401bdf4c run&gt;\n"
full_name: Thread::list
is_singleton: true
name: list
params: |
  Thread.list   => array

visibility: public