Current Path : /usr/local/share/ri/1.8/system/Thread/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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