[PATCH 0/1] xargs: support spawning processes in parallel

Johannes Schindelin johannes.schindelin at gmx.de
Wed Aug 23 15:25:36 UTC 2017


A GNU-specific extension of the xargs command allows spawning the
processes in parallel by passing the `-P <N>` option, where `<N>` is the
maximal number of processes to spawn at the same time.

I need this feature to run Git's test suite in an environment where only
BusyBox is available and no development tools such as `make` or `prove`.

Please give this a good look-over, as I want to make sure that this is
correct. It seems to work alright in my tests, yet I would feel more
comfortable if I got at least one other developer to agree that the
feature is implemented correctly.


Johannes Schindelin (1):
  xargs: support -P <N> (parallel execution)

 findutils/xargs.c | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 111 insertions(+), 1 deletion(-)


base-commit: 8b77a9ea81a0bd89ee69e7742d9b920dd1562763
Published-As: https://github.com/dscho/busybox-w32/releases/tag/busybox-xargs-p-v1
Fetch-It-Via: git fetch https://github.com/dscho/busybox-w32 busybox-xargs-p-v1
-- 
2.14.1.windows.1.11.gc06fee21d46



More information about the busybox mailing list