Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KProcessController Class Reference

Used internally by KProcess. More...

#include <kprocctrl.h>

List of all members.

Public Methods

bool waitForProcessExit (int timeout)

Static Public Methods

void theSigCHLDHandler (int signal)

Static Public Attributes

KProcessController * theKProcessController


Detailed Description

Used internally by KProcess.

Definition at line 50 of file kprocctrl.h.


Member Function Documentation

void KProcessController::theSigCHLDHandler int    signal [static]
 

Automatically called upon SIGCHLD.

Normally you do not need to do anything with this function but if your application needs to disable SIGCHLD for some time for reasons beyond your control, you should call this function afterwards to make sure that no SIGCHLDs where missed.

bool KProcessController::waitForProcessExit int    timeout
 

Wait for any process to exit and handle their exit without starting an event loop. This function may cause KProcess to emit any of its signals.

Parameters:
timeout  the timeout in seconds
Returns:
true if a process exited, false if no process exited within timeout seconds.
Since:
3.1


Member Data Documentation

KProcessController* KProcessController::theKProcessController [static]
 

Only a single instance of this class is allowed at a time, and this static variable is used to track the one instance.

Definition at line 65 of file kprocctrl.h.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:21 2003 for kdelibs by doxygen1.2.18