Don't retry fork() in a loop.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 13 Nov 2016 17:45:01 +0000 (12:45 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 13 Nov 2016 17:45:01 +0000 (12:45 -0500)
commitfafc8a0b8a3041beb410ed04219c5e20c5f6572f
tree9f4216fa69f182458cadbfe24b886d6648ce7473
parente617f425032bccafe36657dcf615a6abaf026fd3
Don't retry fork() in a loop.

If fork() fails, then report a fatal error.  Don't spin the cpu
retrying fork() until it succeeds.  It can fail when we reach a limit
on the number of processes.  Spinning on the cpu would slow down other
processes when we want them to exit.  This would get bad if we had a
parallel build with multiple ack processes spinning.
util/ack/run.c