From: Junio C Hamano Date: Tue, 22 Sep 2015 19:53:07 GMT Subject: Re: [PATCHv3 06/13] run-command: add an asynchronous parallel child processor Message-ID: In-Reply-To: Stefan Beller writes: > So how would you find out when we are done? while (1) { if (we have available slot) ask to start a new one; if (nobody is running anymore) break; collect the output from running ones; drain the output from the foreground one; cull the finished process; }