KProcess Line Mode Patch

Thiago Macieira thiago at
Tue Dec 2 11:01:24 GMT 2008

On Tuesday 02 December 2008 11:50:22 Oswald Buddenhagen wrote:
> now it isn't any more. mwahahaha
> and there is the new task 237152 for the stream side.
> no guarantees on this getting done short-term ...

Maybe we can do it after the I/O performance improvements. I want to avoid the 
lots of memcpy used in the I/O operations, moving data from one buffer to the 
next. The idea is to simply hand over QByteArrays (or lists of QByteArrays, 
that is QRingBuffer) from one stage to the next.

Since QIODevice may be handling more than just one buffer in that case, we 
could introduce the concept of channels. (QBuffer and QFile have one channel 
only, TCP and Unix sockets have two, QProcess has three)

Thiago Macieira - thiago (AT) - thiago (AT)
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list