~/talk

“Multithreading is the answer. What is the question? (part 2 of 2)”

Talkat CppCon 2017 · 2017-09-24..09-29· [concurrency]
links:none on file
slides:none on file

Argues that multithreading is manageable by concrete abstractions: implements libGuarded (guarded, shared_guarded, ordered_guarded, deferred_guarded) and then builds an RCU list + RCU guarded wrapper to solve a real deadlock in CsSignal. Readers take lockless const handles, writers serialize; deleted nodes go to a zombie list reclaimed by the oldest reader; cost is a few bytes plus one malloc per read-lock. The implementation uses C++11/14 atomics and works in practice.

AI-written summary · about

  1. 0:00Intro
  2. 0:24Reviewing multithreaded code
  3. 2:50Mutex
  4. 7:03Lock
  5. 10:52Shared Guarded
  6. 15:35Ordered Guarded
  7. 20:22Deferred Guarded
  8. 23:11Generalized Guarded
  9. 28:56RCU guarded
  10. 34:48Zombie list
  11. 43:52Rangebased for
  12. 45:25Race conditions
  13. 46:02Outro
~/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.