~/talk

Creating multithreaded applications with Qt

Talkat Qt World Summit 2015 · 2015-10-06..10-07· [concurrency, software-architecture]
links:none on file
slides:none on file

Explains when each Qt threading tool actually helps: subclassing QThread is rarely ideal, never move the QThread object to another thread because object affinity breaks signals/cleanup; use QMutexLocker for exception-safe locking and avoid read/write lockers unless benchmarked; reuse threads because creating QThread is expensive so QThreadPool / QRunnable wins for many short tasks (web‑server, queued DB jobs); use QtConcurrent mapped/reduced/filter with a QFutureWatcher for easy parallel transforms (mapped example ran 20 items on an 8‑core machine).

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 10:45Threading tools in Qt
  3. 16:13Subclassing QThread
  4. 23:38Worker threads with moveToThread
  5. 26:14Thread pools for small tasks
  6. 30:11Qt Concurrent and futures
  7. 32:17Map reduce and filter operations
  8. 48:05Recommendations and summary
  9. 48:49Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.