cvs commit: src/usr.bin/make main.c
Scott Long
scottl at freebsd.org
Sat Dec 13 14:35:08 PST 2003
Dag-Erling Smorgrav wrote:
> 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
>
Holy crap, this is cool. Thanks a lot for doing this. Does this mean
that the poll interval (for checking child status) can be changed from
100ms back to something more reasonable?
Scott
More information about the cvs-src
mailing list