~/talk

Enhancing your Qt application with multiple threads

Talkat Qt Developer Days 2008 · 2008-10-14..10-15· [concurrency]
links:none on file
slides:none on file

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

  1. 0:00Introduction and background
  2. 1:31Why avoid threads
  3. 4:46When to use threads
  4. 8:45Threading evolution in Qt
  5. 17:36API do's and don'ts
  6. 29:48Locking and atomic operations
  7. 44:32Summary and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.