Current Path : /usr/local/share/ri/1.8/system/Process/ |
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/Process/waitall-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Waits for all children, returning an array of <em>pid</em>/<em>status</em> pairs (where <em>status</em> is a <tt>Process::Status</tt> object). - !ruby/struct:SM::Flow::VERB body: " fork { sleep 0.2; exit 2 } #=> 27432\n fork { sleep 0.1; exit 1 } #=> 27433\n fork { exit 0 } #=> 27434\n p Process.waitall\n" - !ruby/struct:SM::Flow::P body: "<em>produces</em>:" - !ruby/struct:SM::Flow::VERB body: " [[27434, #<Process::Status: pid=27434,exited(0)>],\n [27433, #<Process::Status: pid=27433,exited(1)>],\n [27432, #<Process::Status: pid=27432,exited(2)>]]\n" full_name: Process::waitall is_singleton: true name: waitall params: | Process.waitall => [ [pid1,status1], ...] visibility: public