AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Thread/ |
Current 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: " #<Thread:0x401b3e84 sleep>\n #<Thread:0x401b3f38 run>\n #<Thread:0x401b3fb0 sleep>\n #<Thread:0x401bdf4c run>\n" full_name: Thread::list is_singleton: true name: list params: | Thread.list => array visibility: public