[PATCH] KIO::SlaveBase and the event loop
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" (), in
particular, section 2.6.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel