KProcessController issues

Waldo Bastian bastian at kde.org
Mon Apr 29 23:03:12 BST 2002


On Monday 29 April 2002 03:10 pm, aleXXX wrote:
> Hi,
>
> why do we create a KProcessController in KApplication::init() and not on
> demand in the KProcess ctor ? (micro performance issue)

To create a consistent initialisation sequence. The KProcessController 
installs a signal handler this way it guarantees that the signal handler is 
always installed (independent of prior usage of KProcess.)

> And why does it care in theSigChildHandler() for process which are not
> KProcess'es ? (caused in my app a blocking read() in slotDoHousekeeping(),
> which was probably also caused by some other (multithreading) problem)

I have no idea.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list