[Interest] Using QNAM from threads

Philipp Kursawe phil.kursawe at gmail.com
Thu Jan 30 10:50:46 CET 2014


In QML you can provide a QNAM factory. This is supposed to return a new
QNAM for the calling thread. So having multiple QNAM in an app is not
really an issue?


On Thu, Jan 30, 2014 at 3:33 AM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> On quarta-feira, 29 de janeiro de 2014 21:45:47, phil.kursawe at gmail.comwrote:
> > I have a sync thread that needs to read from a database and sends data
> to a
> > server. The server response can be  very large. The sync thread should
> > process them. I somehow fail to seem how I could decouple the background
> > thread from the network stuff.
>
> The main thread does the networking and receives all the data. *ALL* the
> data,
> no matter how big. Then it passes the data to the sync thread.
>
> If the data is too big for memory, use QTemporaryFile.
>
> You cannot process the data as it comes from that other thread.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140130/55c7002d/attachment.html>


More information about the Interest mailing list