svn commit: r200818 - head/etc

Ulrich Spörlein uqs at spoerlein.net
Fri Dec 25 02:44:41 UTC 2009


On Mon, 21.12.2009 at 22:16:07 +0000, Jilles Tjoelker wrote:
> Author: jilles
> Date: Mon Dec 21 22:16:07 2009
> New Revision: 200818
> URL: http://svn.freebsd.org/changeset/base/200818
> 
> Log:
>   rc.subr: Use pwait in wait_for_pids.
>   
>   This waits for the requested process(es) to terminate, rather than polling
>   with an interval of 2 seconds.
>   
>   If pwait is not available, the old method is used.

A timeout for pwait would be nice, so that we still get a progress
report and not simply a "hang".

The return value for timeout-has-fired-but-PID-is-still-alive and
no-such-PID would have to be different, though.

Btw, I haven't actually tested the current code, perhaps it already
DTRT.

Regards,
Uli


More information about the svn-src-head mailing list