summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2020-01-04 16:16:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2020-01-04 16:16:38 +0000
commitb729f05495f7d1334985d643bfdb5030fd44817b (patch)
treea270c8729459c49b37e0e64e86a3810f767686ab /usr.bin/file
parent708061cc6edaffdeb981997ad0be918b39304595 (diff)
create a separate function "may_continue_heldback_jobs" and invoke
it in the main reaper loop, instead of waiting for a job with an expensive command to exit. This prevents jobs with an expensive command from holding back everything else until their full list of commands is run, instead of just the expensive one. (as JOB_IS_EXPENSIVE is updated before and after each command for a job, this is safe) This might make things slightly more parallel. It's definitely more correct and less tangled. okay millert@
Diffstat (limited to 'usr.bin/file')
0 files changed, 0 insertions, 0 deletions