<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QThreadPool... How to do]]></title><description><![CDATA[<p dir="auto">Hi, everyone !</p>
<p dir="auto">In my application, I use the global QThreadPool to run many tasks asynchronously and make use of the priority system. However, some of these tasks have to be  executed sequentially and I don't know how to mix both (asynchronous and synchronous) on the global QThreadPool.</p>
<p dir="auto">Is there a way to do so ?</p>
]]></description><link>https://forum.qt.io/topic/29520/qthreadpool-how-to-do</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 19:13:33 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/29520.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jul 2013 08:00:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QThreadPool... How to do on Wed, 17 Jul 2013 08:22:28 GMT]]></title><description><![CDATA[<p dir="auto">QThreadPool wasn't designed to check task sequences, so you'll have to manage the sequence externally (e.g. emit a signal when each task finishes, to trigger the start of the next task).</p>
<p dir="auto">You can have a look at how KDE's "ThreadWeaver":<a href="http://api.kde.org/4.0-api/kdelibs-apidocs/threadweaver/html/index.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://api.kde.org/4.0-api/kdelibs-apidocs/threadweaver/html/index.html</a> (which is built on Qt) does it.</p>
]]></description><link>https://forum.qt.io/post/186789</link><guid isPermaLink="true">https://forum.qt.io/post/186789</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Wed, 17 Jul 2013 08:22:28 GMT</pubDate></item></channel></rss>