Enhancing your Qt application with multiple threads
summary
Explains that Qt 4.4 adds concrete tools: QtConcurrent framework for running functions and mapped lists on a global thread pool, QFuture and QFutureWatcher for results and progress, and QAtomic operations (fetchAndAdd/testAndSet) that implement implicit-sharing safely. Covers differences between QThread, QRunnable and thread pool cost, the need to call exec for event loops, and that sockets are asynchronous so threads are often unnecessary. Demonstrates thread-safe painting/printing and cross-thread queued connections that copy args via QVariant.
AI-written summary · about
