From owner-cvs-all@FreeBSD.ORG Sat Dec 13 07:28:06 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B32F416A4CE; Sat, 13 Dec 2003 07:28:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E329D43D95; Sat, 13 Dec 2003 07:26:40 -0800 (PST) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hBDFQSXJ042151; Sat, 13 Dec 2003 07:26:28 -0800 (PST) (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hBDFQRnb042150; Sat, 13 Dec 2003 07:26:27 -0800 (PST) (envelope-from des) Message-Id: <200312131526.hBDFQRnb042150@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Sat, 13 Dec 2003 07:26:27 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2003 15:28:06 -0000 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