~/talk

Development of Multi-threaded applications

Talkat Qt Developer Days Munich 2011 · 2011-10-24..10-26· [concurrency]
slides:none on file

Shows concrete code: uses QConcurrent + QFuture/QFutureWatcher to run a slow Fibonacci off the UI thread and keep the UI responsive; implements a real QAtomicPointer lock-free stack (push faster: 700ms→400ms; pop much faster: 2.5s→0.5s on dual‑core) and demonstrates the ABA problem with options (tagged pointers, hazard pointers, LL/SC). Explains Qt5 QMutex internals: atomic pointer states (0,1 or MutexPrivate), refcounted mutex privates, lock‑free free list and futex backend on Linux, and tradeoffs (fairness, timeouts).

AI-written summary · about

  1. 0:00Introduction to talk
  2. 2:35When to use threading
  3. 3:58Demo of UI responsiveness
  4. 10:15Lock-free programming basics
  5. 13:44QAtomic API overview
  6. 17:55Lock-free stack implementation
  7. 21:21Benchmarking lock-free vs mutex
  8. 30:23ABA problem explained
  9. 35:04QMutex in Qt5 internals
  10. 49:49Questions and closing
~/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.