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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"