Hi,

I am Saheb Preet Singh, a KDE GSOC student. I am working on the okular
project.

I was working on the linearization support which allows to open the files
in the reader prior to its complete download. I am having some queries
related to KIO.

Now, I am able to get the size of the file and ranges of the file in KIO.

I am stuck at an error that KIO is not thread safe. The KIO::get method is
being called whenever poppler( a backend for Okular ) demands more data.
Now, this library may be invoked by main thread of the okular as well as
secondary threads ( like pixmap generation threads ).

I heard from somebody that, we cannot execute KIO code in two threads in
kdelibs4. Since, okular do not properly support kf5, I have to work with
kdelibs4 only.

Could anybody please suggest how can I access KIO in such a scenario?

Thanks,
Saheb Preet Singh
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to