<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
  </categories>
  <description>use warnings; use strict; my $pid = fork; if ($pid) { ## parant process } else { ## child process } waitpid($pid,0); waitpidをしなかったら、子プロセスが残っていても親プロセスは先に終わってしまう。 指定した数だけfork my $max_process = 10; my @pids; for ( 1 .. $max_process ) { my $pid = fork; push @pids, $pid; die &quot;can't fork child process&quot; if…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20100824%2F1282655602&quot; title=&quot; perlでfork - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-08-24 22:13:22</published>
  <title> perlでfork</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20100824/1282655602</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
