[Interest] ImageProvider Threading

mark diener rpzrpzrpz at gmail.com
Fri Sep 18 02:29:32 CEST 2015


Hello List:

When dealing with multi-threading, the docs say that QQuickImageProvider
will load
images in a separate low priority thread.

As it reads in the docs:

http://doc.qt.io/qt-5/qquickimageprovider.html#details

"When this is enabled, the image request to the provider is run in a low
priority thread, allowing image loading to be executed in the background,
and reducing the performance impact on the user interface."

Does anybody know if the requests are queued in a single low priority
thread or the requests are made in parallel low priority threads?

For queued, this means if we take a long time to return from requestPixMap(
) that all the other images will block waiting for each queued
requestPixmap( ) call to complete.

Who knows, parallel or serial requestPixmap( ) calls?

Thanks,

md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150917/d5a85c06/attachment.html>


More information about the Interest mailing list