Add a Program::GetPid() method.

llvm-svn: 76341
This commit is contained in:
Mikhail Glushenkov 2009-07-18 21:43:40 +00:00
parent 583e23d726
commit 1c0854b913

View File

@ -42,6 +42,9 @@ namespace sys {
Program() : Pid_(0)
{}
/// Return process ID of this program.
unsigned GetPid() { return Pid_; }
/// This function executes the program using the \p arguments provided. The
/// invoked program will inherit the stdin, stdout, and stderr file
/// descriptors, the environment and other configuration settings of the