aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-07-16 13:44:23 +0100
committerRon Yorston <rmy@pobox.com>2026-07-16 13:58:37 +0100
commitdfb473921952e6c049aa7a591efca78db7a4720d (patch)
tree99861b952da41aafca2456b968a23b6e136cbbd0 /scripts/basic
parent850b56c8a4c565bcf37b396580ca90e99da5d754 (diff)
downloadbusybox-w32-dfb473921952e6c049aa7a591efca78db7a4720d.tar.gz
busybox-w32-dfb473921952e6c049aa7a591efca78db7a4720d.tar.bz2
busybox-w32-dfb473921952e6c049aa7a591efca78db7a4720d.zip
xargs: limit number of processes to 64
Upstream limits the number of processes invoked with the '-P 0' option to 100. On Windows the limit was set to MAXIMUM_WAIT_OBJECTS, as that's the most WaitForMultipleObjects() can handle. Apply the same limit to user-supplied '-P' values. This avoids the need to loop over blocks of MAXIMUM_WAIT_OBJECTS. "64 processes ought to be enough for anyone." Saves 64-80 bytes. Signed-off-by: Ron Yorston <rmy@pobox.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions