

Public Member Functions | |
| TestProcess () | |
| virtual void | died (ExitStatus s) |
Public Attributes | |
| int | expect_return |
| TestProcess::TestProcess | ( | ) | [inline] |
References Process::exec(), expect_return, Process::spawn(), and Process::vcommand().
| virtual void TestProcess::died | ( | ExitStatus | s | ) | [inline, virtual] |
The died virtual will be called from a random thread to notify the termination of the command. BEWARE: the thread is not necessarily the same as the one used to initiate poll_death.
Reimplemented from Process.
References assert(), ExitStatus::exit(), and expect_return.
Referenced by died(), and TestProcess().
1.6.2