]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Explained that we loop to collect all stopped kids before we go to sleep.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 4 Mar 2010 21:05:11 +0000 (14:05 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 4 Mar 2010 21:05:11 +0000 (14:05 -0700)
src/main.cc

index 474433a2e647a521671d1020e98240293c29015f..8d5830ec0574a80b7486cdfecde3c51349eec709 100644 (file)
@@ -1864,7 +1864,7 @@ watch_child(char *argv[])
         pid = waitpid(-1, &status, 0);
 
 #endif
-        /* XXX: Why loop? Should not we only process one terminated kid? */
+        // Loop to collect all stopped kids before we go to sleep below.
         do
         {
             Kid* kid = TheKids.find(pid);