20 #ifndef __KPROCCTRL_H__
21 #define __KPROCCTRL_H__
23 #include <tqvaluelist.h>
27 class TQSocketNotifier;
69 static void theSigCHLDHandler(
int signal);
81 bool waitForProcessExit(
int timeout);
88 void unscheduleCheck();
95 void rescheduleCheck();
104 int notifierFd()
const;
117 void addProcess(
int pid );
120 void slotDoHousekeeping();
123 friend class I_just_love_gcc;
127 TQSocketNotifier *notifier;
128 TQValueList<TDEProcess*> kProcessList;
129 TQValueList<int> unixProcessList;
131 static void setupHandlers();
132 static void resetHandlers();
133 static struct sigaction oldChildHandlerData;
134 static bool handlerSet;
Used internally by TDEProcess.
static TDEProcessController * theTDEProcessController
Only a single instance of this class is allowed at a time, and this static variable is used to track ...
Child process invocation, monitoring and control.