[perldocjp-cvs 1739] CVS update: docs/perl/5.16.1

Back to archive index

argra****@users***** argra****@users*****
2013年 4月 6日 (土) 04:36:51 JST


Index: docs/perl/5.16.1/perlipc.pod
diff -u docs/perl/5.16.1/perlipc.pod:1.1 docs/perl/5.16.1/perlipc.pod:1.2
--- docs/perl/5.16.1/perlipc.pod:1.1	Thu Mar 21 22:36:20 2013
+++ docs/perl/5.16.1/perlipc.pod	Sat Apr  6 04:36:51 2013
@@ -230,12 +230,13 @@
 
 =end original
 
-SIGCHLD handlers require some special care.  If a second child dies
-while in the signal handler caused by the first death, we won't get
-another signal. So must loop here else we will leave the unreaped child
-as a zombie. And the next time two children die we get another zombie.
-And so on.
-(TBT)
+SIGCHLD ハンドラは特別な対応が必要です。
+一つ目の子が死んだことによって起動されたシグナルハンドラの実行中に
+二つ目の子が死ぬと、もう一つのシグナルは受け取れません。
+従ってここでループしなければなりません; さもなければ処理されない子が
+ゾンビとして残ります。
+そして次に二つの子が死ぬともう一つのゾンビが発生します。
+以下同様です。
 
     use POSIX ":sys_wait_h";
     $SIG{CHLD} = sub {



perldocjp-cvs メーリングリストの案内
Back to archive index