ui-utilcpp 1.10.3
|
Simple encapsulation of fork(2) using common thread syntax. More...
#include <Thread.hpp>
Public Member Functions | |
void | start () |
Spawn thread. | |
![]() | |
bool | isRunning () |
pid_t | getPID () const |
Get PID of running "thread". | |
int | wait () |
Wait for this "thread", and return the process' exit status. | |
int | getStatus () const |
Get status of last run. | |
Additional Inherited Members | |
![]() | |
enum | ReservedStatus { NotRunYet_ = 255 , Running_ = 254 , WaitpidErr_ = 253 , KilledByUncatchedSignal_ = 252 } |
Reserved exit status'. Do not use these as return codes in your run()-functions. More... | |
![]() | |
virtual int | run ()=0 |
![]() | |
pid_t | pid_ |
int | status_ |
Simple encapsulation of fork(2) using common thread syntax.
|
virtual |
Spawn thread.
Implements UI::Util::ProcessThread.