History log of /freebsd-10-stable/bin/pwait/pwait.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 245506 16-Jan-2013 delphij

Use a different way to silence clang analyzer as done in r245494 by
explicitly telling the compiler that we are on the exit route.

X-MFC: together with r245494


# 245494 16-Jan-2013 eadler

Free memory before exiting in order to silence a warning from the clang
static analyzer

Approved by: cperciva
MFC after: 3 days


# 199458 17-Nov-2009 jilles

Add pwait utility, which waits for any process to terminate.

This is similar to the Solaris utility of the same name.

Some use cases:
* rc.subr's wait_for_pids
* interactive use, e.g. to shut down the computer when some task is done
even if the task is already running

Discussed on: hackers@