Threads

Threaded HTTP inside QNetworkAccessManager

Published Friday April 29th, 2011 | 14 Comments on Threaded HTTP inside QNetworkAccessManager
Posted in Internet, Performance, Threads

Hi, My name is Markus and this is my first blog post on labs 🙂 Since some time ago we integrated a change into QNetworkAccessManager that makes HTTP requests run in a separate thread. Someone asked for clarification on that, so here it goes 🙂 The reason behind this was the way QtWebKit (based on […]

Read More

Qt Graphics and Performance – Generating Content in Threads

Published Thursday January 21st, 2010 | 14 Comments on Qt Graphics and Performance – Generating Content in Threads
Posted in Graphics Dojo, Painting, Performance, Threads

Previous posts in this topic: Whats Hot and whats Not An Overview The Raster Engine The OpenVG Engine The OpenGL Engine The Cost of Convenience Fast Text In this series that we’ve been doing, I wanted to cover threading, a topic that has been actively discussed amongst some of the trolls over the last few […]

Read More

Wide Finding

Published Friday June 27th, 2008 | 6 Comments on Wide Finding
Posted in Qt Concurrent, Threads

The Wide Finder Project is an informal parallel programming competition where the task is to compute web site statistcs from a 218-million line access log. Each entry will be benchmarked on a Sun T2000 with support for 32 hardware threads, giving lots of opportunities for parallel processing. What makes this really interesting is that the […]

Read More

Multi-threaded text layout and printing

Published Thursday September 27th, 2007 | 7 Comments on Multi-threaded text layout and printing
Posted in Painting, Qt, Threads

I just integrated a series of changes that adds support for doing multi-threaded text layout and printing. So it is now safe to use QFont and QFontMetrics outside the GUI thread. This means QPainter::drawText() works too (when painting on QImage, QPrinter, and QPicture). We’ve also done changes to QTextDocument that allow it to be cloned […]

Read More

Say hello to QAtomicInt and QAtomicPointer

Published Tuesday August 28th, 2007 | 4 Comments on Say hello to QAtomicInt and QAtomicPointer
Posted in KDE, Qt, Threads

Yesterday, I closed task 168853, the “provide a cross-platform atomic API” task. After several rounds of API review (and literally hundreds of completely Qt rebuilds on every test machine), I added QAtomicInt and QAtomicPointer to the 4.4 snapshots. These classes provide atomic operations for integers and pointers, respectively. At the moment, each class supports atomic […]

Read More

QThread’s no longer abstract

Published Thursday July 5th, 2007 | Comments Off on QThread’s no longer abstract
Posted in Aggregated, KDE, Qt, Threads

In a previous blog, I talked about wanting to make QThread::run() call QThread::exec() by default. I didn’t manage to get it in for 4.3, but I did make the change today for 4.4. Testing with every compiler I could get my hands on indicates that it’s a binary compatible change, so unless proven otherwise, this […]

Read More
Get started today with Qt Download now