Go to file
sommerfeld a804073cac Add a token-passing scheme to allow a recursive make to successfully
use -j; all make's in a recursive build cooperate to limit the total
number of jobs, using a token-passing scheme.

The current token passing algorithm is similar to the one implemented
by gmake; there is a single pipe which is inherited through the entire
process hierarchy; tokens are obtained by reading a byte from the
"read end" of the pipe, and are returned by writing them to the "write
end".  This exact algorithm is likely to change in the future.

Implementation details:
 - Use the new trace facility to allow measurement of the
effectiveness of different token-passing schemes
 - Get a token in MakeStartJobs(), return it in Make_Update()
 - Eliminate Job_Full() and the jobFull global since they are
redundant with token system.
 - Add an "internal" -J option (to pass the token pipe fd's down to
submakes) and a -T option for tracing.
 - Change how compatMake is forced so that -j means something when
inherited by submakes.
 - When waiting for a token, poll the token-passing pipe as well as
the output pipes of existing jobs.
2000-12-30 02:05:20 +00:00
bin arm26 has unsigned chars too. 2000-12-29 16:30:31 +00:00
crypto change pathname to netbsd-oriented 2000-12-29 03:12:59 +00:00
dist Now that the problem with TCP mounts is fixed, switch back to TCP mounts 2000-12-12 17:06:34 +00:00
distrib install sample configuration files into /usr/share/examples/racoon. 2000-12-29 03:16:39 +00:00
etc install sample configuration files into /usr/share/examples/racoon. 2000-12-29 03:16:39 +00:00
games Another one that really belongs here... 2000-12-17 10:08:08 +00:00
gnu Eliminate things that moved to netbsd.h 2000-12-29 22:06:04 +00:00
include Sprinkle some __restrict into <wchar.h>. 2000-12-29 15:26:33 +00:00
lib Cosmetics. Use _ASM_LABEL for cerror. 2000-12-29 23:16:42 +00:00
libexec Add new :cs: modifier to gettytab which clears the screen using the 2000-12-28 22:18:27 +00:00
regress test for dlopen(3) and the toolchain generating the files involved 2000-12-08 19:24:29 +00:00
sbin move racoon build framework from sbin/racoon to usr.sbin/racoon. 2000-12-29 02:33:38 +00:00
share Add pfy (Lance Berc) 2000-12-29 19:42:08 +00:00
sys notify console polling mode or not to lower level video driver. 2000-12-30 01:55:24 +00:00
usr.bin Add a token-passing scheme to allow a recursive make to successfully 2000-12-30 02:05:20 +00:00
usr.sbin move .PATH after bsd.prog.mk 2000-12-29 05:22:07 +00:00
Makefile if building w/o a DESTDIR, grab the system make files from the source 2000-10-07 17:18:17 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00
UPDATING lsu -> ld, by popular request. 2000-11-26 17:44:02 +00:00