ok
Direktori : /opt/alt/ruby18/share/ri/1.8/system/Process/ |
Current File : //opt/alt/ruby18/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