data urls and FileCopyJob

Leo Savernik l.savernik at aon.at
Tue Sep 16 19:24:50 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 15. September 2003 01:11 schrieb David Faure:
> On Monday 15 September 2003 00:46, Leo Savernik wrote:
> >   data(outData);
> >   data(QByteArray());
> >   finished();
> >
> > And kio_data works synchronously, so the receiving end has no chance to
> > do anything between receiving these signals.
[...]
>
> Your pseudo-implementation of suspend doesn't seem to be enough.
> If the dataslave isn't in another process, I think you need something like
> "if suspended then register somewhere (member var) that resume() should
> finish the stuff".

Thanks for the information. I have now hacked kio_data so much that it 
emulates suspend/resume behaviour by a queue and timers. It's very limited, 
but works for the obvious cases.

mfg
	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/Z1Vzj5jssenUYTsRAlFNAJ4hjq2L2k2c7QhM2nVyEqhBOlKdIgCgkvJg
hdgchRWS0NsrwCF8OdzSf2A=
=vI33
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list