Date: Sat, 13 Dec 2003 07:26:27 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make main.c Message-ID: <200312131526.hBDFQRnb042150@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2003/12/13 07:26:27 PST
FreeBSD src repository
Modified files:
usr.bin/make main.c
Log:
Install a SIGCHLD handler so select(2) will be interrupted when a child
terminates. Without this patch, 'make -j1 buildworld' takes about 30%
longer than 'make -B buildworld' on my 2.4 GHz P4; the difference is
probably even larger on faster systems. With this patch, there is no
perceptible difference in wall time between the two.
Submitted by: bde
MFC after: 3 days
Revision Changes Path
1.86 +20 -0 src/usr.bin/make/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312131526.hBDFQRnb042150>
