[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] KIO::SlaveBase and the event loop
From:       Ingo =?utf-8?q?Kl=C3=B6cker?= <kloecker () kde ! org>
Date:       2008-07-15 22:02:44
Message-ID: 200807160002.49574 () thufir ! ingo-kloecker ! de
[Download RAW message or body]


On Tuesday 15 July 2008, Roland Harnau wrote:
> 2008/7/15, Thiago Macieira <thiago@kde.org>:
> > Well, my plan was a bit more ambitious. I wanted all ioslaves to
> > run inside an event loop. The KIO::Connection would be used in in
> > readyRead() slot handlers instead of waitFor* style functions as it
> > is right now.
> >
> > It was too much work for too little gain.
>
> Apropos ambitious plans: In the planning phase for KDE4 did you
> consider to re-implement the IO slaves as threads? The process
> creation cost including the D-Bus talk to klauncher seem quite high
> to me, especially if Konqueror launches 20 or more  of them.

Do you have actual numbers proving that this is a problem?

I suggest to read D. J. Bernstein's very interesting paper "Some 
thoughts on security after ten years of qmail 1.0" ([1]), in 
particular, section 2.6.


Regards,

Ingo


[1] http://cr.yp.to/qmail/qmailsec-20071101.pdf

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic