Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: source-changes
Date: 12/05/2000 17:20:11
Module Name: basesrc
Committed By: sommerfeld
Date: Tue Dec 5 15:20:11 UTC 2000
Modified Files:
basesrc/usr.bin/make: job.c job.h
Log Message:
correct performance regression of recent change from select() to
poll() for parallel make:
- Make the poll() code behave more like the select() code: sleep for
a bit waiting for output rather than busy-wait (eww).
- Install a no-op SIGCHLD handler so that poll/select wake up early
(with -1/EINTR) when a child exits.
- Change the default sleep time from 500ms to 5 seconds since we now
wake up promptly when a child exits.
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 basesrc/usr.bin/make/job.c
cvs rdiff -r1.9 -r1.10 basesrc/usr.bin/make/job.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.