Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2003 15:33:44 -0700
From:      Scott Long <scottl@freebsd.org>
To:        Dag-Erling Smorgrav <des@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/make main.c
Message-ID:  <3FDB93C8.2070705@freebsd.org>
In-Reply-To: <200312131526.hBDFQRnb042150@repoman.freebsd.org>
References:  <200312131526.hBDFQRnb042150@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FDB93C8.2070705>