[PATCH] KIO::SlaveBase and the event loop
Ingo Klöcker
kloecker at kde.org
Tue Jul 15 23:02:44 BST 2008
On Tuesday 15 July 2008, Roland Harnau wrote:
> 2008/7/15, Thiago Macieira <thiago at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080716/a4fa929e/attachment.sig>
More information about the kde-core-devel
mailing list