CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/01/04 09:16:37
Modified files:
usr.bin/make : job.c
Log message:
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@