diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-07-16 13:44:23 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-07-16 13:58:37 +0100 |
| commit | dfb473921952e6c049aa7a591efca78db7a4720d (patch) | |
| tree | 99861b952da41aafca2456b968a23b6e136cbbd0 /scripts/checkstack.pl | |
| parent | 850b56c8a4c565bcf37b396580ca90e99da5d754 (diff) | |
| download | busybox-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/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
