[Qt-interest] Prioritizing between main thread and a new QThread

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Sun Mar 20 17:28:49 CET 2011


On Sun, Mar 20, 2011 at 6:46 PM, sarvesh saran
<aquarian.thunder at gmail.com> wrote:
> Hi,
> This is interesting......if you want a portable solution using only Qt
> library...try using Qt for I/O (QNetworkAccessManager) + make use of Queued

Our app is completely in Qt! :)

...and I'm not worried about portability right now...its very specific
for this target.

> connection to manage image chunks..and because scaling up to more CPU's is
> not your aim you won't need a worker thread at all. But then again this is

I _will_ need a separate thread since even with a queued connection,
the decode operation will happen in the main thread, thus causing
contention for CPU since it might also be animating then.

-mandeep



More information about the Qt-interest-old mailing list